summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/linear_algebra.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/oldnumeric/linear_algebra.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/oldnumeric/linear_algebra.py')
-rw-r--r--numpy/oldnumeric/linear_algebra.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/oldnumeric/linear_algebra.py b/numpy/oldnumeric/linear_algebra.py
index f9938b503..8208637b8 100644
--- a/numpy/oldnumeric/linear_algebra.py
+++ b/numpy/oldnumeric/linear_algebra.py
@@ -24,7 +24,7 @@ import numpy.linalg as linalg
LinAlgError = linalg.LinAlgError
def solve_linear_equations(a, b):
- return linalg.solve(a,b)
+ return linalg.solve(a, b)
# Matrix inversion
@@ -42,7 +42,7 @@ def eigenvalues(a):
return linalg.eigvals(a)
def Heigenvalues(a, UPLO='L'):
- return linalg.eigvalsh(a,UPLO)
+ return linalg.eigvalsh(a, UPLO)
# Eigenvectors
@@ -79,7 +79,7 @@ the number of rows, then residuals will be returned as an empty array
otherwise resids = sum((b-dot(A,x)**2).
Singular values less than s[0]*rcond are treated as zero.
"""
- return linalg.lstsq(a,b,rcond)
+ return linalg.lstsq(a, b, rcond)
def singular_value_decomposition(A, full_matrices=0):
return linalg.svd(A, full_matrices)