June 8, 2007
10:19 a.m.
Hi,
and now I forget just 1 N, and the program seems to work correctly ...
I think what we're all saying is: If you start in matlab - for example - it seems like a good idea to do: from numpy import * That's how I started. Gradually, writing code, you begin to realize that it is just much, much better - for clarity, and for namespace safety, to do import numpy as N Of course, if you do that, if you forget an N., you get a syntax error. And that is the right way to solve your 'what is an array' problem. It's an N.array Best, Matthew