IMSL C Stat Library
random_MT64_table_set
Sets the current table used in the 64-bit Mersenne Twister generator.
Synopsis
#include <imsls.h>
void imsls_random_MT64_table_set (unsigned long long table[])
Required Arguments
unsigned long long table [] (Input)
Array of length 625 used in the 64-bit Mersenne Twister generator.
Description
The values in table are the state of the 64-bit Mersenne Twister random number generator obtained by a call to imsls_random_MT64_table_get. The values in the table can be used to restore the state of the generator.
Alternatively, if table[0] > 625 then the generator is set to its original, uninitialized, state.
Example
See function imsls_random_MT64_table_get.