public class IID extends Object implements RandomVectorGenerator
| Constructor and Description |
|---|
IID(RandomNumberGenerator rng,
int length)
Construct a rvg that outputs vectors that have i.i.d.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
nextVector()
Get the next random vector.
|
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public IID(RandomNumberGenerator rng, int length)
rng - the underlying (univariate) random number generatorlength - the length of the output vectorspublic void seed(long... seeds)
Seedablepublic double[] nextVector()
RandomVectorGeneratornextVector in interface RandomVectorGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.