randomMt32TableSet

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

Synopsis

randomMt32TableSet (table)

Required Arguments

unsigned int table [] (Input)
Array of length 625 used in the 32-bit Mersenne Twister generator.

Description

The values in table are the state of the 32-bit Mersenne Twister random number generator obtained by a call to randomMt32TableGet. 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 randomMt32TableGet.