summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-01-30 12:40:56 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-01-30 12:40:56 -0600
commit4ba65876181769e92323060adef01f6b10ab4ee4 (patch)
tree4910c9406c46df044ac4b6c71c47cd92bcc365e0
parent66710151a7130bc01de920a1a08431524c0ca513 (diff)
downloadnumpy-4ba65876181769e92323060adef01f6b10ab4ee4.tar.gz
DOC: Euclidean 2-norm -> squared Euclidean 2-norm
-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
----------