bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / special / _poisson_binom_pmf
ufunc_wrapper
scipy.special:_poisson_binom_pmf
source: build-install/usr/lib/python3.14/site-packages/scipy/special/__init__.py
Signature
def _poisson_binom_pmf(k, p, /, out = None, **kwargs)Summary
Returns pmf of Poisson Binomial distribution.
Parameters
k: arrayNumber of successes at which to evaluate pmf.
p: arraySuccess probabilities of independent Bernoulli trials.
Notes
This is equivalent to a gufunc with signature ()(i)->(). The last dimension of p contains success probabilities and the preceding dimensions are batch dimensions. The batch dimensions are broadcast against k.
The output will be C contiguous regardless of the contiguity of k and p.
Aliases
scipy.special._spfun_stats._poisson_binom_pmf