|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.measure.random.UncorrelatedRandomVectorGenerator
public class UncorrelatedRandomVectorGenerator
This class allows to generate random vectors with uncorrelated components.
| Constructor Summary | |
|---|---|
UncorrelatedRandomVectorGenerator(double[] mean,
double[] standardDeviation,
RandomGenerator generator)
Simple constructor. |
|
UncorrelatedRandomVectorGenerator(int dimension,
RandomGenerator generator)
Simple constructor. |
|
| Method Summary | |
|---|---|
RandomGenerator |
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,
RandomGenerator generator)
mean - expected mean values for all componentsstandardDeviation - standard deviation for all componentsgenerator - underlying generator for uncorrelated normalized
components
java.lang.IllegalArgumentException - if there is a dimension mismatch
between the mean and standard deviation vectors
public UncorrelatedRandomVectorGenerator(int dimension,
RandomGenerator generator)
dimension - dimension of the vectors to generategenerator - underlying generator for uncorrelated normalized
components| Method Detail |
|---|
public RandomGenerator getGenerator()
public double[] nextVector()
nextVector in interface RandomVectorGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||