public class Random1D extends Object
Modifier and Type | Field and Description |
---|---|
int |
length |
Constructor and Description |
---|
Random1D(Access2D<?> correlations) |
Random1D(int size)
If the variables are uncorrelated.
|
Modifier and Type | Method and Description |
---|---|
Array1D<Double> |
nextDouble()
An array of correlated random numbers, provided that you gave a correlations matrix to the constructor.
|
Array1D<Double> |
nextGaussian()
An array of correlated random numbers, provided that you gave a correlations matrix to the constructor.
|
protected Random |
random() |
void |
setSeed(long seed) |
int |
size() |
public Random1D(Access2D<?> correlations)
public Random1D(int size)
public Array1D<Double> nextDouble()
public Array1D<Double> nextGaussian()
public void setSeed(long seed)
public int size()
protected Random random()
Copyright © 2019 Optimatika. All rights reserved.