summaryrefslogtreecommitdiff
path: root/numpy/polynomial/legendre.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/legendre.py')
-rw-r--r--numpy/polynomial/legendre.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py
index d4cf4accf..2e8052e7c 100644
--- a/numpy/polynomial/legendre.py
+++ b/numpy/polynomial/legendre.py
@@ -425,7 +425,7 @@ def legmulx(c):
See Also
--------
- legadd, legmul, legmul, legdiv, legpow
+ legadd, legmul, legdiv, legpow
Notes
-----
@@ -1339,12 +1339,12 @@ def legfit(x, y, deg, rcond=None, full=False, w=None):
returned `coef`.
[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`.
@@ -1352,7 +1352,7 @@ def legfit(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