[Numpy-discussion] New ufuncs
Wed Nov 5 00:05:10 CST 2008
On Tue, Nov 4, 2008 at 9:37 PM, Anne Archibald
> 2008/11/5 Charles R Harris <firstname.lastname@example.org>:
>> Hi All,
>> I'm thinking of adding some new ufuncs. Some possibilities are
>> expadd(a,b) = exp(a) + exp(b) -- For numbers stored as logs:
> Surely this should be log(exp(a)+exp(b))? That would be extremely useful, yes.
But shouldn't it be called 'logadd', for adding values which are stored as logs?
I would also really enjoy a logdot function, to be used when working
with arrays whose elements are log values.
More information about the Numpy-discussion