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

logSumExpMean(v)

See also