diff options
| author | warren <warren.weckesser@gmail.com> | 2021-11-11 17:44:57 -0300 |
|---|---|---|
| committer | melissawm <melissawm.github@gmail.com> | 2021-11-11 17:44:57 -0300 |
| commit | abb136cad711a0c23657926f8e6f3f50d9c37572 (patch) | |
| tree | 308c19af004cc8696c0f2cdb2533977f151f3e25 /numpy | |
| parent | fd78f1fd44f46fc3d23f01e601268af2467dfa8b (diff) | |
| download | numpy-abb136cad711a0c23657926f8e6f3f50d9c37572.tar.gz | |
DOC: Fix math formatting for zipf docstring
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/random/_generator.pyx | 2 | ||||
| -rw-r--r-- | numpy/random/mtrand.pyx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index 1e65be3f1..7087b6e1d 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -3137,7 +3137,7 @@ cdef class Generator: .. math:: p(k) = \\frac{k^{-a}}{\\zeta(a)}, - for integers ``k`` >= 1, where :math:`\\zeta` is the Riemann Zeta + for integers :math:`k \geq 1`, where :math:`\\zeta` is the Riemann Zeta function. It is named for the American linguist George Kingsley Zipf, who noted diff --git a/numpy/random/mtrand.pyx b/numpy/random/mtrand.pyx index 280b0faac..3e13503d0 100644 --- a/numpy/random/mtrand.pyx +++ b/numpy/random/mtrand.pyx @@ -3644,7 +3644,7 @@ cdef class RandomState: .. math:: p(k) = \\frac{k^{-a}}{\\zeta(a)}, - for integers ``k`` >= 1, where :math:`\\zeta` is the Riemann Zeta + for integers :math:`k \geq 1`, where :math:`\\zeta` is the Riemann Zeta function. It is named for the American linguist George Kingsley Zipf, who noted |
