public class ThinRVG extends Object implements RandomVectorGenerator
Constructor and Description |
---|
ThinRVG(RandomVectorGenerator rvg,
int m)
Constructs a thinned RVG.
|
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 ThinRVG(RandomVectorGenerator rvg, int m)
rvg
- an underlying RVGm
- the number of items to draw from the underlying RVG for each drawpublic double[] nextVector()
RandomVectorGenerator
nextVector
in interface RandomVectorGenerator
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.