dpnp.random.randn

dpnp.random.randn(d0, *dn)[source]

Return a sample (or samples) from the “standard normal” distribution.

For full documentation refer to numpy.random.randn.

Limitations

Output array data type is dpnp.float64.

Examples

>>> dpnp.random.randn()
2.1923875335537315  # random

Two-by-four array of samples from N(3, 6.25):

>>> s = 3 + 2.5 * dpnp.random.randn(2, 4)