summaryrefslogtreecommitdiff
path: root/numpy/polynomial/laguerre.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/laguerre.py')
-rw-r--r--numpy/polynomial/laguerre.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py
index d3b6432dc..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
--------
@@ -1030,7 +1030,7 @@ def lagval3d(x, y, z, c):
Returns
-------
values : ndarray, compatible object
- The values of the multidimension polynomial on points formed with
+ The values of the multidimensional polynomial on points formed with
triples of corresponding values from `x`, `y`, and `z`.
See Also
@@ -1321,12 +1321,12 @@ def lagfit(x, y, deg, rcond=None, full=False, w=None):
`k`.
[residuals, rank, singular_values, rcond] : list
- These values are only returned if `full` = True
+ These values are only returned if ``full == True``
- resid -- sum of squared residuals of the least squares fit
- rank -- the numerical rank of the scaled Vandermonde matrix
- sv -- singular values of the scaled Vandermonde matrix
- rcond -- value of `rcond`.
+ - residuals -- sum of squared residuals of the least squares fit
+ - rank -- the numerical rank of the scaled Vandermonde matrix
+ - singular_values -- singular values of the scaled Vandermonde matrix
+ - rcond -- value of `rcond`.
For more details, see `numpy.linalg.lstsq`.
@@ -1334,7 +1334,7 @@ def lagfit(x, y, deg, rcond=None, full=False, w=None):
-----
RankWarning
The rank of the coefficient matrix in the least-squares fit is
- deficient. The warning is only raised if `full` = False. The
+ deficient. The warning is only raised if ``full == False``. The
warnings can be turned off by
>>> import warnings