[Numpy-discussion] Question on F/C-ordering in numpy svd

Ivan Oseledets ivan.oseledets@gmail....
Thu Jan 12 08:21:32 CST 2012


Dear all!

I quite new to numpy and python.
I am a matlab user, my work is mainly
on multidimensional arrays, and I have a question on the svd function
from numpy.linalg

It seems that

u,s,v=svd(a,full_matrices=False)

returns u and v in the F-contiguous format.

That is not in a good agreement with other numpy stuff, where
C-ordering is default.
For example, matrix multiplication, dot() ignores ordering and returns
result always in C-ordering.
(which is documented), but the svd feature is not documented.

With best wishes, Ivan


More information about the NumPy-Discussion mailing list