5 Nov
2008
5 Nov
'08
6:05 a.m.
On Tue, Nov 4, 2008 at 9:37 PM, Anne Archibald
2008/11/5 Charles R Harris
: 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.
+1 But shouldn't it be called 'logadd', for adding values which are stored as logs? http://www.lri.fr/~pierres/donn%E9es/save/these/torch/docs/manual/logAdd.htm... I would also really enjoy a logdot function, to be used when working with arrays whose elements are log values.