[SciPy-user] Cycling the arrays

Marco gaedol@gmail....
Fri Mar 6 11:03:10 CST 2009


Hi all,

just a quick question: what is the fastest way to cycle inside an N
dimensional array?
I just want to visit each and every element in the N dimensional
array, then do things.

I can do it with N 'for' cycles, obviously.
Is there a more compact and maybe faster way to do it?

Thanks in advance,

marco


More information about the SciPy-user mailing list