RNSE32

Sets the current table used in the 32-bit Mersenne Twister generator.

Required Arguments

MTABLE — Integer array of length 625 containing the table used in the 32-bit Mersenne Twister generator. (Input)

FORTRAN 90 Interface

Generic: CALL RNSE32 (MTABLE)

Specific: The specific interface name is RNSE32

FORTRAN 77 Interface

Single: CALL RNSE32 (MTABLE)

Description

The values in MTABLE are the state of the 32-bit Mersenne Twister random number generator obtained by a call to RNGE32. The values in the table can be used to restore the state of the generator.

Alternatively, if MTABLE [1] > 625 then the generator is set to its original, uninitialized, state.

Example

See routine RNGE32.