summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorFazlul Shahriar <fshahriar@gmail.com>2013-06-13 23:58:14 -0400
committerFazlul Shahriar <fshahriar@gmail.com>2013-06-13 23:58:14 -0400
commit7189c63f1236567abaf7fe5e9a7cf831a650d7bb (patch)
tree5aff55149c7d1660564940b72f8492866aa76b08 /numpy
parentd596d6d8d842832c763dd0f661ada5ea389bd71d (diff)
downloadnumpy-7189c63f1236567abaf7fe5e9a7cf831a650d7bb.tar.gz
DOC: another minor tweak of linalg.lstsq doc string
Diffstat (limited to 'numpy')
-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``.