[Numpy-discussion] lazy evaluation
Tue Jun 5 13:02:51 CDT 2012
On 5 June 2012 18:21, Neal Becker <firstname.lastname@example.org> wrote:
> Would lazy eval be able to eliminate temps in doing operations such as:
> np.sum (u != 23)?
> That is, now ops involving selecting elements of matrixes are often performed by
> first constructing temp matrixes, and the operating on them.
> NumPy-Discussion mailing list
Sure, yeah, it's pretty easy to generate a loop with an if statement
and a reduction.
More information about the NumPy-Discussion