R/utils.R
logsumexp.Rd
log sum exp trick
logsumexp(x)
a vector of numbers
a numeric value
logsumexp(c(-20,-30)) #> [1] -19.99995