Calculate the log(sum(exp(x)))

logsum(x)

Arguments

x

A vector.

Value

A number, the \( log(sum(exp(x))) \)