randomTableSet

Sets the current table used in the shuffled generator.

Synopsis

randomTableSet (table)

Required Arguments

float table[] (Input)
Array of length 128 used in the shuffled generators.

Description

The values in table are initialized by the PyIMSL random number generators. The values are all positive except if the user wishes to reinitialize the array, in which case the first element of the array is input as a nonpositive value. (Usually, one should avoid reinitializing these arrays, but it might be necessary sometimes in restarting a simulation.) If the first element of table is set to a nonpositive value on the call to randomTableSet, on the next invocation of a function to generate random numbers using a shuffled method, the appropriate array will be reinitialized.

Example

See function randomGfsrTableGet.