-
real logAdd(real log_a, real log_b)
- logAdd(log_a,log_b) = log(a+b) = log(exp(log_a)+exp(log_b)) but done in a smart way so that if log_a or log_b are large but not their difference the computation works correctly
-
real logSub(real log_a, real log_b)
- logSub(log_a,log_b) = log(a-b)
Documentation
Some simple functions for log operations.
- Author:
- Samy Bengio (bengio@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.