The log (1 + x) function for variables (C99).
The derivative is given by
\(\frac{d}{dx} \log (1 + x) = \frac{1}{1 + x}\).
- Template Parameters
-
T | Arithmetic or a type inheriting from EigenBase . |
- Parameters
-
- Returns
- The log of 1 plus the variable.
Definition at line 23 of file log1p.hpp.