[Numpy-discussion] Superfluous array transpose (cf. ticket #1054)
Sturla Molden
sturla@molden...
Sun Mar 15 13:57:10 CDT 2009
Regarding ticket #1054. What is the reason for this strange behaviour?
>>> a = np.zeros((10,10),order='F')
>>> a.flags
C_CONTIGUOUS : False
F_CONTIGUOUS : True
OWNDATA : True
WRITEABLE : True
ALIGNED : True
UPDATEIFCOPY : False
>>> (a+1).flags
C_CONTIGUOUS : True
F_CONTIGUOUS : False
OWNDATA : True
WRITEABLE : True
ALIGNED : True
UPDATEIFCOPY : False
Sturla Molden
More information about the Numpy-discussion
mailing list