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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index c15469a0a..279ce21f9 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -1733,7 +1733,8 @@ def lstsq(a, b, rcond=-1):
Returns
-------
x : {(N,), (N, K)} ndarray
- Least-squares solution.
+ Least-squares solution. If `b` is two-dimensional,
+ the solutions are in the `K` columns of `x`.
residuals : {(), (1,), (K,)} ndarray
Sums of residuals; squared Euclidean 2-norm for each column in
``b - a*x``.