FNLMath : Utilities : RNIN64
RNIN64
Initializes the 64-bit Mersenne Twister generator using an array.
Required Arguments
KEY— Integer(kind=8) array of length LEN used to initialize the 64-bit Mersenne Twister generator. (Input)
Optional Arguments
LEN — Length of the array key. (Input)
FORTRAN 90 Interface
Generic: CALL RNIN64 (KEY [])
Specific: The specific interface name is S_RNIN64.
FORTRAN 77 Interface
Single: CALL RNIN64 (KEY, LEN)
Description
By default, the Mersenne Twister random number generator is initialized using the current seed value (see RNGET). The seed is limited to one integer for initialization. This function allows an arbitrary length array to be used for initialization. This subroutine completely replaces the use of the seed for initialization of the 64-bit Mersenne Twister generator.
Published date: 03/19/2020
Last modified date: 03/19/2020