Skip to content

Commit 7c3ec42

Browse files
authored
Merge pull request numpy#27359 from ScoobyP/update_pmf_generator
MAINT: fix typo in random.binomial
2 parents 82e8650 + b75adee commit 7c3ec42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numpy/random/_generator.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3010,7 +3010,7 @@ cdef class Generator:
30103010
30113011
Notes
30123012
-----
3013-
The probability density for the binomial distribution is
3013+
The probability mass function (PMF) for the binomial distribution is
30143014
30153015
.. math:: P(N) = \\binom{n}{N}p^N(1-p)^{n-N},
30163016

numpy/random/mtrand.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3416,7 +3416,7 @@ cdef class RandomState:
34163416
34173417
Notes
34183418
-----
3419-
The probability density for the binomial distribution is
3419+
The probability mass function (PMF) for the binomial distribution is
34203420
34213421
.. math:: P(N) = \\binom{n}{N}p^N(1-p)^{n-N},
34223422

0 commit comments

Comments
 (0)