cupy.random.logseries#
- cupy.random.logseries(p, size=None, dtype=<class 'int'>)[source]#
Log series distribution.
Returns an array of samples drawn from the log series distribution. Its probability mass function is defined as
\[f(x) = \frac{-p^x}{x\ln(1-p)}.\]- Parameters:
- Returns:
Samples drawn from the log series distribution.
- Return type:
See also