Simple question - Numeric Python

Ralf Muschall rmuschall.fih at t-online.de
Wed Mar 15 23:47:34 CET 2000


Matthew Hirsch wrote:

> Would it be:
> 1) array(((1,2,3),(4,5,6),(7,8,9)))  or
> 2) array(((1,4,7),(2,5,8),(3,6,9)))

Unless I missed something, NumPy does everything the right
way, i.e. opposed to Fortrash and perl/PDL, where almost
everything is transposed.

This is the main reason I use python (having to either
swap indices or call something like transpose() often
when converting math equations to source is inconvenient).

Ralf



More information about the Python-list mailing list