On Thu, Jul 13, 2006 at 10:34:11AM +0200, Mark Bakker wrote:
> To be honest, I think the native array storage order matters a lot.
> When you have a large dataset, transposing the matrix is not a cheap
> command.

If you use numpy, transposing is cheap.  You see it when you try

import numpy as N
z = N.random.random([1000,1000])
print "Transposing..."
for x in range(10000): z.transpose()

in the latest SVN of numpy, they also have the convencience-shorthand
of z.T (which calls z.transpose()).

Regards
Stéfan




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to