diff options
author | Fazlul Shahriar <fshahriar@gmail.com> | 2013-06-13 03:02:37 -0400 |
---|---|---|
committer | Fazlul Shahriar <fshahriar@gmail.com> | 2013-06-13 03:02:37 -0400 |
commit | 486542aaaea65aaf1ca79d45a3761933ea205cd1 (patch) | |
tree | b65e2935f451c646737ca3f62b32b80e9483e30e /numpy/linalg/linalg.py | |
parent | 266a968d5d9b3cb5be59e30b697f4e9876c3a00c (diff) | |
download | numpy-486542aaaea65aaf1ca79d45a3761933ea205cd1.tar.gz |
DOC: fix typo in linalg.lstsq doc string
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r-- | numpy/linalg/linalg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 5d632fed7..a3bb5b212 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -1732,9 +1732,9 @@ def lstsq(a, b, rcond=-1): Returns ------- - x : {(M,), (M, K)} ndarray + x : {(N,), (N, K)} ndarray Least-squares solution. The shape of `x` depends on the shape of - `b`. + `a`. residuals : {(), (1,), (K,)} ndarray Sums of residuals; squared Euclidean 2-norm for each column in ``b - a*x``. |