cupy.random.exponential#
- cupy.random.exponential(scale, size=None, dtype=<class 'float'>)[source]#
Exponential distribution.
Returns an array of samples drawn from the exponential distribution. Its probability density function is defined as
\[f(x) = \frac{1}{\beta}\exp (-\frac{x}{\beta}).\]- Parameters:
- Returns:
Samples drawn from the exponential distribution.
- Return type:
See also