# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

# RandStream.list

Random number generator algorithms

## Class

`RandStream`

## Syntax

```RandStream.list ```

## Description

`RandStream.list` lists all the generator algorithms that can be used when creating a random number stream with `RandStream` or `RandStream.create`. The available generator algorithms and their properties are given in the following table.

KeywordGeneratorMultiple Stream and Substream SupportApproximate Period In Full Precision
mt19937arMersenne twister (used by default stream at MATLAB® startup)No${2}^{19937}-1$
dsfmt19937SIMD-oriented fast Mersenne twister No${2}^{19937}-1$
mcg16807Multiplicative congruential generatorNo${2}^{31}-2$
mlfg6331_64Multiplicative lagged Fibonacci generatorYes${2}^{124}$
mrg32k3aCombined multiple recursive generatorYes${2}^{127}$
shr3congShift-register generator summed with linear congruential generatorNo${2}^{64}$
swb2712Modified subtract with borrow generatorNo${2}^{1492}$

See Choosing a Random Number Generator for details about these generator algorithms. See http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html for a full description of the Mersenne twister algorithm.