[SciPy-user] stupid question about indexes

Marco gaedol@gmail....
Wed Dec 17 10:59:33 CST 2008


just done it. :)



On Wed, Dec 17, 2008 at 5:53 PM, Marco <gaedol@gmail.com> wrote:
> 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