|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spaceroots.mantissa.random.UncorrelatedRandomVectorGenerator
This class allows to generate random vectors with uncorrelated components.
| Constructor Summary | |
UncorrelatedRandomVectorGenerator(double[] mean,
double[] standardDeviation,
NormalizedRandomGenerator generator)
Simple constructor. |
|
UncorrelatedRandomVectorGenerator(int dimension,
NormalizedRandomGenerator generator)
Simple constructor. |
|
| Method Summary | |
NormalizedRandomGenerator |
getGenerator()
Get the underlying normalized components generator. |
double[] |
nextVector()
Generate a correlated random vector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UncorrelatedRandomVectorGenerator(double[] mean,
double[] standardDeviation,
NormalizedRandomGenerator generator)
Build an uncorrelated random vector generator from its mean and standard deviation vectors.
mean - expected mean values for all componentsstandardDeviation - standard deviation for all componentsgenerator - underlying generator for uncorrelated normalized
components
IllegalArgumentException - if there is a dimension
mismatch between the mean and standard deviation vectors
public UncorrelatedRandomVectorGenerator(int dimension,
NormalizedRandomGenerator generator)
Build a null mean random and unit standard deviation uncorrelated vector generator
dimension - dimension of the vectors to generategenerator - underlying generator for uncorrelated normalized
components| Method Detail |
public NormalizedRandomGenerator getGenerator()
public double[] nextVector()
nextVector in interface RandomVectorGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||