Numeric array referencing vs copying.

Maarten van Reeuwijk maarten at remove_this_ws.tn.tudelft.nl
Sun Feb 1 13:55:54 CET 2004


Whoops, detected a small bug in the example code: u and v should be floats.

So
> u = arange(9)

should be

u = arange(9.)

This makes the outcome of the script a little more convincing :)

===================================================================
Maarten van Reeuwijk                    Thermal and Fluids Sciences
Phd student                             dept. of Multiscale Physics
www.ws.tn.tudelft.nl                 Delft University of Technology



More information about the Python-list mailing list