Calculate logspace summation of matrix rows in a somewhat numerically stable way.
log-scale numeric matrix of values to sum.
log(apply(exp(logX), 1, sum)), but more numerically stable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.