cupy.random.rayleigh#
- cupy.random.rayleigh(scale=1.0, size=None, dtype=<class 'float'>)[source]#
Rayleigh distribution.
Returns an array of samples drawn from the rayleigh distribution. Its probability density function is defined as
\[f(x) = \frac{x}{\sigma^2}e^{\frac{-x^2}{2-\sigma^2}}, x \ge 0.\]- Parameters:
- Returns:
Samples drawn from the rayleigh distribution.
- Return type:
See also