diff options
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``. |