R/utilities.R
logsumexp.Rd
Calculate the exponent of a vector (offset by the max), sum the elements, calculate the log, remove the offset.
logsumexp(x)
numeric vector
numeric
The LSE.
logsumexp(1:10)