Computes \(log( sum_i(exp(v_i)) )\) in a stable way.

logSumExp(v)

See also