cupynumeric.random.logseries#
- cupynumeric.random.logseries(p, size=None)#
Draw samples from a logarithmic series distribution.
Samples are drawn from a log series distribution with specified shape parameter, 0 <
p< 1.- Parameters:
p (float) – Shape parameter for the distribution. Must be in the range (0, 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. If size isNone(default), a single value is returned.
- Returns:
out – Drawn samples from the parameterized logarithmic series distribution.
- Return type:
ndarray or scalar
See also
numpy.random.logseries- Availability:
Multiple GPUs, Multiple CPUs