The Hyperbolic Tangent Function: tanh
Keywords: the hyperbolic tangent function: tanh syntax x y atomic derivative example

| Prev | Next |  |  |  |  |  |  |

The Hyperbolic Tangent Function: tanh
Syntax
`y = tanh(x)`
x, y
See the possible types for a unary standard math function.
Atomic
This is an atomic operation .
Derivative tanh ( 1 ) ( x ) = 1 - tanh ( x ) 2
Example
The file tanh.cpp contains an example and test of this function. It returns true if it succeeds and false otherwise.

Input File: cppad/local/std_math_98.hpp