Initializes the 32-bit Mersenne Twister generator using an array.
KEY— Integer array of length LEN used to initialize the 32-bit Mersenne Twister generator. (Input)
LEN — Length of the array key. (Input)
Generic: CALL RNIN32 (KEY [,…])
Specific: The specific interface name is S_RNIN32.
Single: CALL RNIN32 (KEY, LEN)
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 32-bit Mersenne Twister generator.
See routine RNGE32.
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |