I'm using the Enthought Python Distribution. When I define a matrix and
transpose it, it appears that the result is no longer a matrix (see below).
This is both surprising and disappointing. Any suggestions will be
appreciated.
In [16]: A=matrix([[1,2,3],[4,5,6],[7,8,9]])
In [17]: B=A.transpose
In [18]: A
Out[18]:
matrix([[1, 2, 3],
[4, 5, 6],
[7, 8, 9]])
In [19]: B
Out[19]: <built-in method transpose of matrix object at 0x00CF2A30>
--
View this message in context: http://www.nabble.com/transpose-of-a-matrix-should-be-another-matrix-tp24367402p24367402.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.