|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<Gaussian.Method>
com.numericalmethod.suanshu.stats.random.distribution.Gaussian.Method
public static enum Gaussian.Method
the methods available to sample from the Normal distribution
| Enum Constant Summary | |
|---|---|
BOX_MULLER
the Box-Muller method |
|
MARSAGLIA_BRAY
the Marsaglia-Bray algorithm This is an acceptance-rejection method so there is no upper-bound on the number of uniforms it may use to generate a sample. |
|
| Method Summary | |
|---|---|
static Gaussian.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Gaussian.Method[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Gaussian.Method BOX_MULLER
public static final Gaussian.Method MARSAGLIA_BRAY
This is an acceptance-rejection method so there is no upper-bound on the number of uniforms it may use to generate a sample. Hence, this method is not applicable to quasi-Monte Carlo simulation.
| Method Detail |
|---|
public static Gaussian.Method[] values()
for (Gaussian.Method c : Gaussian.Method.values()) System.out.println(c);
public static Gaussian.Method valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||