Chapter 12: Random Number Generation

random_option_get

Retrieves the uniform (0, 1) multiplicative congruential pseudorandom number generator.

Synopsis

#include <imsls.h>

int imsls_random_option_get ()

Return Value

Indicator of the generator.

 

Result

Generator

1

The multiplier 16807 is used.

2

The multiplier 16807 is used with shuffling.

3

The multiplier 397204094 is used.

4

The multiplier 397204094 is used with shuffling.

5

The multiplier 950706376 is used.

6

The multiplier 950706376 is used with shuffling.

7

GFSR, with the recursion Xt = Xt1563 Å Xt96 is used

Description

The routine imsls_random_option_get retrieves the uniform (0, 1) multiplicative congruential pseudorandom number generator or the GRSR method. The uniform pseudorandom number generators use a multiplicative congruential method, with or without shuffling. The value of the multiplier and whether or not to use shuffling are determined by imsls_random_option.


Visual Numerics, Inc.
Visual Numerics - Developers of IMSL and PV-WAVE
http://www.vni.com/
PHONE: 713.784.3131
FAX:713.781.9260