diff options
Diffstat (limited to 'numpy/polynomial/hermite_e.py')
-rw-r--r-- | numpy/polynomial/hermite_e.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py index 8a70acfa2..49888ee09 100644 --- a/numpy/polynomial/hermite_e.py +++ b/numpy/polynomial/hermite_e.py @@ -1005,7 +1005,7 @@ def hermegrid2d(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 @@ -1717,8 +1717,8 @@ def hermegauss(deg): Computes the sample points and weights for Gauss-HermiteE 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/2)`. + degree :math:`2*deg - 1` or less over the interval :math:`[-\\inf, \\inf]` + with the weight function :math:`f(x) = \\exp(-x^2/2)`. Parameters ---------- @@ -1781,8 +1781,8 @@ def hermegauss(deg): def hermeweight(x): """Weight function of the Hermite_e polynomials. - The weight function is :math:`\exp(-x^2/2)` and the interval of - integration is :math:`[-\inf, \inf]`. the HermiteE polynomials are + The weight function is :math:`\\exp(-x^2/2)` and the interval of + integration is :math:`[-\\inf, \\inf]`. the HermiteE polynomials are orthogonal, but not normalized, with respect to this weight function. Parameters |