diff options
| author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2021-10-31 21:57:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-31 21:57:11 -0700 |
| commit | 927feff8788f27f29e76e803f187a4c041098ced (patch) | |
| tree | fdb03b86ed064841227f28e1c6e823d2f3cd2547 /numpy | |
| parent | c276dfb6fb5f83b4787c376539720f59b5770743 (diff) | |
| download | numpy-927feff8788f27f29e76e803f187a4c041098ced.tar.gz | |
DOC: Fix math block in hermmulx, lagmulx (#20261)
The math expression needs to be indented, Otherwise it is seen as being
outside the directive and not rendered.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/polynomial/hermite.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/hermite_e.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/laguerre.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py index 9800063f0..9b0735a9a 100644 --- a/numpy/polynomial/hermite.py +++ b/numpy/polynomial/hermite.py @@ -419,7 +419,7 @@ def hermmulx(c): .. math:: - xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x)) + xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x)) Examples -------- diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py index abd27361e..182c562c2 100644 --- a/numpy/polynomial/hermite_e.py +++ b/numpy/polynomial/hermite_e.py @@ -414,7 +414,7 @@ def hermemulx(c): .. math:: - xP_i(x) = (P_{i + 1}(x) + iP_{i - 1}(x))) + xP_i(x) = (P_{i + 1}(x) + iP_{i - 1}(x))) Examples -------- diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py index f564be482..d9ca373dd 100644 --- a/numpy/polynomial/laguerre.py +++ b/numpy/polynomial/laguerre.py @@ -414,7 +414,7 @@ def lagmulx(c): .. math:: - xP_i(x) = (-(i + 1)*P_{i + 1}(x) + (2i + 1)P_{i}(x) - iP_{i - 1}(x)) + xP_i(x) = (-(i + 1)*P_{i + 1}(x) + (2i + 1)P_{i}(x) - iP_{i - 1}(x)) Examples -------- |
