tanh function template — Computes hyperbolic tangent
template<typename T> valarray<T> tanh(const valarray<T>& a);
The tanh function computes the hyperbolic tangent of the elements of a.
tanh
a
tanh in <cmath>
<cmath>