Description Usage Arguments Value Author(s) References Examples
Computes log-sum-exp of a series of (typically large in absolute value) numbers with a more accurate computational trick typically useful for small values.
1 |
x |
A vector or a matrix of numerics (typicall very small). |
byrow |
Logical. Computes by rows if a matrix " |
bycol |
Logical. Computes by cols if a matrix " |
Log-Sum-Exp of the numbers in the vector "x
", that is log(sum(exp(x))),
or row-/column-wise Log-Sum-Exp of the numbers in a matrix "x
".
Yunlong Jiao
Computing Log-Sum-Exp: https://hips.seas.harvard.edu/blog/2013/01/09/computing-log-sum-exp/
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.