cupyx.scipy.special.nbdtri#

cupyx.scipy.special.nbdtri()#

Inverse function to nbdtr with respect to p.

Parameters:
  • k (cupy.ndarray) – The maximum number of allowed failures (nonnegative int).

  • n (cupy.ndarray) – The target number of successes (positive int).

  • y (cupy.ndarray) – The probability of k or fewer failures before n successes (float).

Returns:

p – Probability of success in a single event (float) such that nbdtr(k, n, p) = y.

Return type:

cupy.ndarray

See also

scipy.special.nbdtri()