|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectumontreal.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 stream| Method 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 RandomStreamresetStartStream in class RandomStreamBasepublic void resetStartSubstream()
RandomStream
resetStartSubstream in interface RandomStreamresetStartSubstream in class RandomStreamBasepublic void resetNextSubstream()
RandomStream
resetNextSubstream in interface RandomStreamresetNextSubstream in class RandomStreamBasepublic long[] getState()
public String toString()
RandomStream
toString in interface RandomStreamtoString in class RandomStreamBasepublic String toStringFull()
public MRG32k3aL clone()
RandomStreamBase
clone in interface CloneableRandomStreamclone in class RandomStreamBase
|
SSJ V. labo. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||