real Some simple functions for log operations.::log_add

(real log_a,
  real log_b)

log_add(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

log_add(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++.