logsumexp | R Documentation |
Log sum exp trick to prevent over/underflow
logsumexp(logv)
logv |
vector of log-ed quantities to add up |
Handy for calculating logZ from a vector of log Boltzmann factors.
The function will XX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.