[Numpy-discussion] Unexpected warnings in where
Álvaro Tejero Cantero
alvaro at antalia.com
Thu May 13 09:28:35 EDT 2004
> I think what you're seeing is this:
>
> where(condition, expression1, expression2)
>
> Even though condition is selecting parts of expression1 which are valid,
> expression1 is still fully evaluated.
Is this behaviour what is intended, or do you consider it a shortcoming
of the implementation?. In theory avoiding unneeded evaluations of
expression1 is very desirable...
--
Álvaro Tejero Cantero
http://alqua.org -- documentos libres
free documents
More information about the NumPy-Discussion
mailing list