real Some simple functions for log operations.::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

Documentation

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

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.