powered by
Numerically more stable way to calculate log sum exp
logsumexp(M)
matrix; m by 1 matrix
matrix; m by n input matrix, sum with be over the rows