[Numpy-discussion] svd
Charles Doutriaux
doutriaux1@llnl....
Wed Jul 16 16:58:17 CDT 2008
Hello,
I'm using 1.1.0 and I have a bizarre thing happening
it seems as if:
doing:
import numpy
SVD = numpy.linalg.svd
if different as doing
import numpy.oldnumeric.linear_algebra
SVD = numpy.oldnumeric.linear_algebra.singular_value_decomposition
In the first case passing an array (204,1484) retuns array of shape:
svd: (204, 204) (204,) (1484, 1484)
in the second case I get (what i expected actually):
svd: (204, 204) (204,) (204, 1484)
But looking at the code, it seems like
numpy.oldnumeric.linear_algebra.singular_value_decomposition
is basicalyy numpy.linalg.svd
Any idea on what's happening here?
Thx,
C.
More information about the Numpy-discussion
mailing list