cupynumeric.random.negative_binomial#
- cupynumeric.random.negative_binomial(n, p, size=None)#
Draw samples from a negative binomial distribution.
Samples are drawn from a negative binomial distribution with specified parameters, n successes and p probability of success where n is > 0 and p is in the interval (0, 1].
- Parameters:
- Returns:
out – Drawn samples from the parameterized negative binomial distribution, where each sample is equal to N, the number of failures that occurred before a total of n successes was reached.
- Return type:
ndarray or scalar
See also
- Availability:
Multiple GPUs, Multiple CPUs