Initializes the 32-bit Mersenne Twister generator using an array.
void imsls_random_MT32_init (int key_length, unsigned int key[])
int key_length (Input)
Length of the array key.
unsigned int key [] (Input)
Array of
length key_length used to initialize the 32-bit Mersenne Twister
generator.
By default, the Mersenne Twister random number generator is initialized using the current seed value (see imsls_random_seed_get). The seed is limited to one integer for initialization. This function allows an arbitrary length array to be used for initialization.
This function completely replaces the use of the seed for initialization of the 32-bit Mersenne Twister generator.
See function imsls_random_MT32_table_get.
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |