Description Usage Arguments Details Value Examples
Armadillo wrapper for R's log1p function.
1 | log1p_arma(x)
|
x |
A numeric vector. |
This is simply a wrapper to the vectorized Rcpp sugar function log1p which uses the same implementation as R. It takes an Armadillo vector as input and returns and Armadillo vector as output. It is intended for use in C++ code that uses only Armadillo types.
A numeric vector whose values are log(1 + x).
1 | log1p_arma(1/10^(0:5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.