logsumexp | R Documentation |
Calculate the exponent of a vector (offset by the max), sum the elements, calculate the log, remove the offset.
logsumexp(x)
x |
|
The LSE.
logsumexp(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.