\(LSE(x_1, \ldots, x_n) = \log(\exp(x_1) + \dots + \exp(x_n))\)

lse(x)

Arguments

x

numeric

Value

LSE

Examples

lse(c(-1001, -1002, -1003))
#> [1] -1000.592