logspace_sub_matrix_rows | R Documentation |
Calculate logspace difference of matrix rows in a somewhat numerically stable way.
logspace_sub_matrix_rows(logX)
logX |
log-scale numeric matrix of values to subtract. logX must have exactly 2 columns. |
log(exp(logX), 1 - exp(logX), 2), but more numerically stable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.