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. | |
| void | setDimension (int d) |
| Changes the dimension of the vector to d. | |
| void | nextPoint (double[] p) |
| Generates a vector of i.i.d. | |
| 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 umontreal.ssj.randvarmulti.RandomMultivariateGen | |
| void | nextArrayOfPoints (double[][] v, int start, int n) |
| Generates \(n\) random points. | |
| 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. | |
| void | setStream (RandomStream stream) |
| Sets the umontreal.ssj.rng.RandomStream used by this object to stream. | |
Extends RandomMultivariateGen for a vector of independent identically distributed (i.i.d.) random variables.
Definition at line 35 of file IIDMultivariateGen.java.
| umontreal.ssj.randvarmulti.IIDMultivariateGen.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). |
Definition at line 44 of file IIDMultivariateGen.java.
| RandomVariateGen umontreal.ssj.randvarmulti.IIDMultivariateGen.getGen1 | ( | ) |
Returns the common one-dimensional generator used in this class.
Definition at line 81 of file IIDMultivariateGen.java.
| void umontreal.ssj.randvarmulti.IIDMultivariateGen.nextPoint | ( | double[] | p | ) |
Generates a vector of i.i.d.
variates.
Reimplemented from umontreal.ssj.randvarmulti.RandomMultivariateGen.
Definition at line 60 of file IIDMultivariateGen.java.
| void umontreal.ssj.randvarmulti.IIDMultivariateGen.setDimension | ( | int | d | ) |
Changes the dimension of the vector to d.
Definition at line 53 of file IIDMultivariateGen.java.
| void umontreal.ssj.randvarmulti.IIDMultivariateGen.setGen1 | ( | RandomVariateGen | gen1 | ) |
Sets the common one-dimensional generator to gen1.
Definition at line 72 of file IIDMultivariateGen.java.
| String umontreal.ssj.randvarmulti.IIDMultivariateGen.toString | ( | ) |
Returns a string representation of the generator.
Definition at line 88 of file IIDMultivariateGen.java.