[SciPy-user] stupid question about indexes

Marco gaedol@gmail....
Wed Dec 17 10:53:41 CST 2008


Hi all,

I have a stupid question about indexes: i have a N-times-M array.
I want to look at line 0, do operations on its elements, then move to
line 1, do operations on its elements, and so on...

How should I set the boundaries for a for cycle? (as of now I have
been working only with square matrices and there I used range(len())
but here range(len()) differs from one axis to the other!!)

TIA,

m


More information about the SciPy-user mailing list