Class Random1D
java.lang.Object
org.ojalgo.random.Random1D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn array of correlated random numbers, provided that you gave a correlations matrix to the constructor.An array of correlated random numbers, provided that you gave a correlations matrix to the constructor.private static Randomrandom()static voidsetSeed(long seed) intsize()
-
Field Details
-
length
public final int length -
myCholeskiedCorrelations
-
-
Constructor Details
-
Random1D
-
Random1D
public Random1D(int size) If the variables are uncorrelated. -
Random1D
private Random1D()
-
-
Method Details
-
setSeed
public static void setSeed(long seed) -
random
-
nextDouble
-
nextGaussian
-
size
public int size()
-