Computes log(1 - exp(-x)) element-wise, in a numerically stable way.
log(1 - exp(-x))
This function is undefined for x < 0.
x < 0
Reference: Martin Mächler, "Accurately Computing log(1 - exp(-|a|)) Assessed by the Rmpfr package", 2012. https://cran.r-project.org/web/packages/Rmpfr/vignettes/log1mexp-note.pdf
Computes
log(1 - exp(-x))element-wise, in a numerically stable way.This function is undefined for
x < 0.Reference: Martin Mächler, "Accurately Computing log(1 - exp(-|a|)) Assessed by the Rmpfr package", 2012. https://cran.r-project.org/web/packages/Rmpfr/vignettes/log1mexp-note.pdf