cupynumeric.random.rayleigh#
- cupynumeric.random.rayleigh(scale=1.0, size=None)#
Draw samples from a Rayleigh distribution.
The \(\chi\) and Weibull distributions are generalizations of the Rayleigh.
- Parameters:
scale (float, optional) – Scale, also equals the mode. Must be non-negative. Default is 1.
size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g.,
(m, n, k), thenm * n * ksamples are drawn. Default is None, in which case a single value is returned.
- Returns:
out – Drawn samples from the parameterized Rayleigh distribution.
- Return type:
ndarray or scalar
See also
numpy.random.rayleigh- Availability:
Multiple GPUs, Multiple CPUs