Numeric array referencing vs copying.

Maarten van Reeuwijk maarten at
Sun Feb 1 13:55:54 CET 2004

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

> 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                 Delft University of Technology

More information about the Python-list mailing list