RandStream.list

Lists the random number generator algorithms available.

Category: Mathematics > Random Number Generation

Syntax

RandStream.list

Prints the names and descriptions of the available generators.

Description

Use it to find which values are valid for the type argument of RandStream and RandStream.create. It prints one line per generator with a short description.

Example

Available generators

RandStream.list
Output
The following random number generator algorithms are available:
mt19937ar:        Mersenne Twister with Mersenne prime 2^19937-1

Notes

MATLAB lists several generators (such as threefry and philox4x32_10); MatLivre lists only mt19937ar.

See also

RandStream RandStream.create rng