[Numpy-discussion] `out` argument to ufuncs

Stéfan van der Walt stefan at sun.ac.za
Thu Sep 4 03:03:08 EDT 2008


Hey all,

Gael just asked me why `add`, `subtract` etc. didn't have out
arguments like `cos` and `sin`.  I couldn't give him a good answer.

Could we come to an agreement to add a uniform interface to ufuncs for
1.3?  Either all or none of them should support the out argument.

I see a couple of "deg" (for degrees) flags floating around as well,
so we could consider adding those to all ufuncs that accept angles.

Thanks for your input,
Stéfan



More information about the NumPy-Discussion mailing list