|
From: Alan G I. <ai...@am...> - 2006-01-12 14:53:40
|
Paulo wrote:
>> Now the suggestion. What about adding a "transpose" property (in the=20
>> Python parlance) to ndarray objects? I would call it "t".=20
On Thu, 12 Jan 2006, "Colin J. Williams" apparently wrote:=20
> Or "T" to distinguish properties,=20
You mean like this? Or something else?
Alan Isaac
>>> import numpy as N
>>> x =3D N.mat([[1,2,3],[4,5,6]])
>>> y =3D x.T
>>> y
matrix([[1, 4],
[2, 5],
[3, 6]])
|