public class UncorrelatedRandomVectorGenerator extends java.lang.Object implements java.io.Serializable, RandomVectorGenerator
| Constructor and Description |
|---|
UncorrelatedRandomVectorGenerator(double[] mean,
double[] standardDeviation,
NormalizedRandomGenerator generator)
Simple constructor.
|
UncorrelatedRandomVectorGenerator(int dimension,
NormalizedRandomGenerator generator)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NormalizedRandomGenerator |
getGenerator()
Get the underlying normalized components generator.
|
double[] |
nextVector()
Generate a correlated random vector.
|
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
componentsjava.lang.IllegalArgumentException - if there is a dimension
mismatch between the mean and standard deviation vectorspublic 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
componentspublic NormalizedRandomGenerator getGenerator()
public double[] nextVector()
nextVector in interface RandomVectorGeneratorCopyright © 2001-2007 Luc Maisonobe. All Rights Reserved.