The Exponential Function Minus One: expm1
Keywords: the exponential function minus one: expm1 syntax description x y cppad_use_cplusplus_2011 true false example

| Prev | Next |  |  |  |  |  |  |

The Exponential Function Minus One: expm1
Syntax
`y = expm1(x)`
Description
Returns the value of the exponential function minus one which is defined by `y == exp(x) - 1` .
x, y
See the possible types for a unary standard math function.
CPPAD_USE_CPLUSPLUS_2011
true
If this preprocessor symbol is true (`1`), and `x` is an AD type, this is an atomic operation .
false
If this preprocessor symbol is false (`0`), CppAD uses the representation expm 1 ( x ) = exp ( x ) - 1 to compute this function.
Example
The file expm1.cpp contains an example and test of this function. It returns true if it succeeds and false otherwise.

Input File: cppad/local/expm1.hpp