summaryrefslogtreecommitdiff
path: root/numpy/polynomial/hermite.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/hermite.py')
-rw-r--r--numpy/polynomial/hermite.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py
index d7038e54d..00ca8702d 100644
--- a/numpy/polynomial/hermite.py
+++ b/numpy/polynomial/hermite.py
@@ -1007,7 +1007,7 @@ def hermgrid2d(x, y, c):
This function returns the values:
- .. math:: p(a,b) = \sum_{i,j} c_{i,j} * H_i(a) * H_j(b)
+ .. math:: p(a,b) = \\sum_{i,j} c_{i,j} * H_i(a) * H_j(b)
where the points `(a, b)` consist of all pairs formed by taking
`a` from `x` and `b` from `y`. The resulting points form a grid with
@@ -1719,8 +1719,8 @@ def hermgauss(deg):
Computes the sample points and weights for Gauss-Hermite quadrature.
These sample points and weights will correctly integrate polynomials of
- degree :math:`2*deg - 1` or less over the interval :math:`[-\inf, \inf]`
- with the weight function :math:`f(x) = \exp(-x^2)`.
+ degree :math:`2*deg - 1` or less over the interval :math:`[-\\inf, \\inf]`
+ with the weight function :math:`f(x) = \\exp(-x^2)`.
Parameters
----------
@@ -1784,8 +1784,8 @@ def hermweight(x):
"""
Weight function of the Hermite polynomials.
- The weight function is :math:`\exp(-x^2)` and the interval of
- integration is :math:`[-\inf, \inf]`. the Hermite polynomials are
+ The weight function is :math:`\\exp(-x^2)` and the interval of
+ integration is :math:`[-\\inf, \\inf]`. the Hermite polynomials are
orthogonal, but not normalized, with respect to this weight function.
Parameters