dpnp.random.rayleigh
- dpnp.random.rayleigh(scale=1.0, size=None)[source]
Draw samples from a Rayleigh distribution.
For full documentation refer to
numpy.random.rayleigh
.Limitations
Parameter scale is supported as a scalar. Otherwise,
numpy.random.rayleigh(scale, size)
samples are drawn. Output array data type isdpnp.float64
.Examples
Draw samples from the distribution:
>>> import numpy as np >>> s = dpnp.random.rayleigh(1.0, 10000)