From 4ba65876181769e92323060adef01f6b10ab4ee4 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 30 Jan 2019 12:40:56 -0600 Subject: DOC: Euclidean 2-norm -> squared Euclidean 2-norm --- numpy/linalg/linalg.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'numpy/linalg/linalg.py') 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 ---------- -- cgit v1.2.1