SSJ
3.3.1
Stochastic Simulation in Java
|
Extends RandomMultivariateGen for a vector of independent identically distributed (i.i.d.) random variables. More...
Public Member Functions | |
IIDMultivariateGen (RandomVariateGen gen1, int d) | |
Constructs a generator for a d -dimensional vector of i.i.d. More... | |
void | setDimension (int d) |
Changes the dimension of the vector to d . | |
void | nextPoint (double[] p) |
Generates a vector of i.i.d. More... | |
void | setGen1 (RandomVariateGen gen1) |
Sets the common one-dimensional generator to gen1 . | |
RandomVariateGen | getGen1 () |
Returns the common one-dimensional generator used in this class. | |
String | toString () |
Returns a string representation of the generator. | |
Public Member Functions inherited from RandomMultivariateGen | |
abstract void | nextPoint (double[] p) |
Generates a random point \(p\) using the the stream contained in this object. | |
void | nextArrayOfPoints (double[][] v, int start, int n) |
Generates \(n\) random points. More... | |
int | getDimension () |
Returns the dimension of this multivariate generator (the dimension of the random points). | |
RandomStream | getStream () |
Returns the umontreal.ssj.rng.RandomStream used by this object. More... | |
void | setStream (RandomStream stream) |
Sets the umontreal.ssj.rng.RandomStream used by this object to stream . | |
Additional Inherited Members | |
Protected Attributes inherited from RandomMultivariateGen | |
int | dimension |
RandomStream | stream |
RandomVariateGen | gen1 |
Extends RandomMultivariateGen for a vector of independent identically distributed (i.i.d.) random variables.
IIDMultivariateGen | ( | RandomVariateGen | gen1, |
int | d | ||
) |
Constructs a generator for a d
-dimensional vector of i.i.d.
variates with a common one-dimensional generator gen1
.
gen1 | the one-dimensional generator |
d | dimension of the vector (number of i.i.d. variates). |
void nextPoint | ( | double [] | p | ) |
Generates a vector of i.i.d.
variates.