[Numpy-discussion] Efficient operator overloading

Eike Welk eike.welk at gmx.net
Wed Apr 18 17:28:30 EDT 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