[Numpy-discussion] Efficient operator overloading

Eike Welk eike.welk@gmx....
Wed Apr 18 16:28:30 CDT 2007


On Wednesday 18 April 2007 20:14, Sturla Molden wrote:
> a[i] = 2.0 # The expression 'a * b + c * d' gets evaluated. The
>             # object referred to by y now holds an actual array.
>             # Finally, 2.0 is written to a[i].

This case will require some extra work. The array needs to remember, 
that there is an unevaluated expression depending on it.

Regards Eike.



More information about the Numpy-discussion mailing list