Package org.ojalgo.random
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 Random
random()
static void
setSeed
(long seed) int
size()
-
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
An array of correlated random numbers, provided that you gave a correlations matrix to the constructor. -
nextGaussian
An array of correlated random numbers, provided that you gave a correlations matrix to the constructor. -
size
public int size()
-