The Inverse Hyperbolic Tangent Function: atanh
Keywords: the inverse hyperbolic tangent function: atanh syntax description x y cppad_use_cplusplus_2011 true false example

| Prev | Next |  |  |  |  |  |  |

The Inverse Hyperbolic Tangent Function: atanh
Syntax
`y = atanh(x)`
Description
The inverse hyperbolic tangent function is defined by `x == tanh(y)` .
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 atanh ( x ) = 1 2 log (1 + x 1 - x ) to compute this function.
Example
The file atanh.cpp contains an example and test of this function. It returns true if it succeeds and false otherwise.

Input File: cppad/local/atanh.hpp