Description Usage Arguments Value Examples
Function to compute the logarithm of a sum of small numbers, avoiding overflow.
1 | logAdd(x)
|
x |
array or matrix containing the logarithm of the terms of the sum. If |
If x
is an array, the function returns log(sum_i(e^x[i])), otherwise it returns an array containing the results by column.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.