Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.
Target number of successes (need not be an integer).
prob or mu (see NegBinomialParams; exactly one is required), lowerTail and logP (see TailOptions).
The quantile(s).
Quantile function of the negative binomial distribution (number of failures before the
size-th success). Equivalent to R'sqnbinom(p, size, prob, mu, lower.tail = TRUE, log.p = FALSE).The distribution is parameterized by
sizeand exactly one ofprobormu. Withmu,size = Infinitygives the Poisson distribution.