# qrandstream

Quasirandom number stream

## Description

The `qrandstream`

function creates a `qrandstream`

object, which represents a quasirandom number stream. After you create a
`qrandstream`

object, you can use it to generate quasirandom numbers and set
the stream back to its initial state by using the object functions.

## Creation

### Description

specifies additional options using one or more name-value arguments. For example, you can
specify the interval between points and the number of initial points to skip in the
sequence.`q`

= qrandstream(`type`

,`d`

,`Name=Value`

)

### Input Arguments

## Properties

## Object Functions

## Examples

## References

[1] Bratley, P., and B. L. Fox.
“Algorithm 659 Implementing Sobol's Quasirandom Sequence Generator.”
*ACM Transactions on Mathematical Software*. Vol. 14, No. 1, 1988, pp.
88–100.

[2] Hong, H. S., and F. J. Hickernell.
“Algorithm 823: Implementing Scrambled Digital Sequences.” *ACM
Transactions on Mathematical Software*. Vol. 29, No. 2, 2003, pp.
95–109.

[3] Joe, S., and F. Y. Kuo.
“Remark on Algorithm 659: Implementing Sobol's Quasirandom Sequence Generator.”
*ACM Transactions on Mathematical Software*. Vol. 29, No. 1, 2003, pp.
49–57.

[4] Kocis, L., and W. J. Whiten.
“Computational Investigations of Low-Discrepancy Sequences.” *ACM
Transactions on Mathematical Software*. Vol. 23, No. 2, 1997, pp.
266–294.

[5] Matousek, J. “On the
L2-Discrepancy for Anchored Boxes.” *Journal of Complexity*. Vol.
14, No. 4, 1998, pp. 527–556.

## Version History

**Introduced in R2008a**