R/utils.R
log_sum.Rd
Computes log(sum(exp(x))) in a numerically robust way.
log_sum(x)
vector of length n
log(sum(exp(x))).