[Numpy-discussion] New ufuncs

Neal Becker ndbecker2 at gmail.com
Wed Nov 5 14:01:11 EST 2008


Anne Archibald wrote:

> 2008/11/5 Charles R Harris <charlesr.harris at gmail.com>:
>> 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.
> 
I could probably use this also.  What about log (exp(a)+exp(b)+exp(c)...)?




More information about the NumPy-Discussion mailing list