public class IIDMultivariateGen extends RandomMultivariateGen
RandomVariateGen for a vector of independent identically distributed
(i.i.d.) random variables.| Constructor and Description |
|---|
IIDMultivariateGen(RandomVariateGen gen1,
int d)
Constructs a generator for a d-dimensional vector of i.i.d.
|
| Modifier and Type | Method and Description |
|---|---|
void |
nextPoint(double[] p)
Generates a vector of i.i.d.
|
void |
setDimension(int d)
Changes the dimension of the vector to d.
|
java.lang.String |
toString()
Returns a string representation of the generator.
|
getDimension, getStream, nextArrayOfPoints, setStreampublic IIDMultivariateGen(RandomVariateGen gen1, int d)
gen1 - the one-dimensional generatord - dimension of the vector (number of i.i.d. variates).public void setDimension(int d)
public void nextPoint(double[] p)
nextPoint in class RandomMultivariateGenpublic java.lang.String toString()
toString in class java.lang.ObjectTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.