summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r--numpy/linalg/linalg.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 47b1c4050..0f2715319 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -2134,12 +2134,12 @@ def lstsq(a, b, rcond="warn"):
Return the least-squares solution to a linear matrix equation.
Solves the equation :math:`a x = b` by computing a vector `x` that
- minimizes the Euclidean 2-norm :math:`\| b - a x \|_2`. The equation may
- be under-, well-, or over-determined (i.e., the number of
- linearly independent rows of `a` can be less than, equal to, or
- greater than its number of linearly independent columns). If `a`
- is square and of full rank, then `x` (but for round-off error) is
- the "exact" solution of the equation.
+ minimizes the squared Euclidean 2-norm :math:`\| b - a x \|^2_2`.
+ The equation may be under-, well-, or over-determined (i.e., the
+ number of linearly independent rows of `a` can be less than, equal
+ to, or greater than its number of linearly independent columns).
+ If `a` is square and of full rank, then `x` (but for round-off error)
+ is the "exact" solution of the equation.
Parameters
----------