GRANDN
From Jacket Wiki
Back to Function List, Jacket Basics
Generates normally distributed pseudorandom numbers. It uses the Mersenne Twister algorithm followed by the Box-Muller transform.
Usage
| Jacket for M Language | |||||||||||
| Supported Syntax | |||||||||||
r = grandn(n) grandn(m,n) grandn([m,n]) grandn(m,n,p,...) grandn([m,n,p,...]) grandn grandn(size(A)) r = grandn(..., 'double') r = grandn(..., 'single') % new in v1.7 r = randn(..., class(x)) r = randn(..., gdouble) r = randn(..., gsingle) grandn('state') % fetch current generator state grandn('state', scalar_seed) % re-seed generator |
|||||||||||
|
|||||||||||
Notes
For details on GFOR Support for GRANDN see GFOR Usage: Random Data Generation.
GRANDN emulates the functionality of RANDN.