|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.randvarmulti.RandomMultivariateGen umontreal.iro.lecuyer.randvarmulti.IIDMultivariateGen
public class IIDMultivariateGen
Extends RandomMultivariateGen
for a vector of independent identically distributed
(i.i.d.) random variables.
Constructor Summary | |
---|---|
IIDMultivariateGen(RandomVariateGen gen1,
int d)
Constructs a generator for a d-dimensional vector of i.i.d. |
Method Summary | |
---|---|
RandomVariateGen |
getGen1()
Returns the common one-dimensional generator used in this class. |
void |
nextPoint(double[] p)
Generates a vector of i.i.d. |
void |
setDimension(int d)
Changes the dimension of the vector to d. |
void |
setGen1(RandomVariateGen gen1)
Sets the common one-dimensional generator to gen1. |
String |
toString()
Returns a string representation of the generator. |
Methods inherited from class umontreal.iro.lecuyer.randvarmulti.RandomMultivariateGen |
---|
getDimension, getStream, nextArrayOfPoints, setStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IIDMultivariateGen(RandomVariateGen gen1, int d)
gen1
- the one-dimensional generatord
- dimension of the vector (number of i.i.d. variates).Method Detail |
---|
public void setDimension(int d)
public void nextPoint(double[] p)
nextPoint
in class RandomMultivariateGen
public void setGen1(RandomVariateGen gen1)
public RandomVariateGen getGen1()
public String toString()
toString
in class Object
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |