|
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.rng.RandomStreamBase umontreal.iro.lecuyer.rng.MRG32k3aL
public class MRG32k3aL
The same generator as MRG32k3a
, except here it is implemented
with type long instead of double.
(See MRG32k3a
for more information.)
Constructor Summary | |
---|---|
MRG32k3aL()
|
|
MRG32k3aL(String name)
|
Method Summary | |
---|---|
MRG32k3aL |
clone()
Clones the current generator and return its copy. |
long[] |
getState()
|
void |
resetNextSubstream()
Reinitializes the stream to the beginning of its next substream: Ng is computed, and Cg and Bg are set to Ng. |
void |
resetStartStream()
Reinitializes the stream to its initial state Ig: Cg and Bg are set to Ig. |
void |
resetStartSubstream()
Reinitializes the stream to the beginning of its current substream: Cg is set to Bg. |
static void |
setPackageSeed(long[] seed)
|
void |
setSeed(long[] seed)
|
String |
toString()
Returns a string containing the current state of this stream. |
String |
toStringFull()
|
Methods inherited from class umontreal.iro.lecuyer.rng.RandomStreamBase |
---|
formatState, formatStateFull, increasedPrecision, nextArrayOfDouble, nextArrayOfInt, nextDouble, nextInt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MRG32k3aL()
public MRG32k3aL(String name)
name
- name of the streamMethod Detail |
---|
public static void setPackageSeed(long[] seed)
seed
- array of 6 elements representing the seedpublic void setSeed(long[] seed)
seed
- array of 6 integers representing the new seedpublic void resetStartStream()
RandomStream
resetStartStream
in interface RandomStream
resetStartStream
in class RandomStreamBase
public void resetStartSubstream()
RandomStream
resetStartSubstream
in interface RandomStream
resetStartSubstream
in class RandomStreamBase
public void resetNextSubstream()
RandomStream
resetNextSubstream
in interface RandomStream
resetNextSubstream
in class RandomStreamBase
public long[] getState()
public String toString()
RandomStream
toString
in interface RandomStream
toString
in class RandomStreamBase
public String toStringFull()
public MRG32k3aL clone()
RandomStreamBase
clone
in interface CloneableRandomStream
clone
in class RandomStreamBase
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |