Name

tanh function template — Computes hyperbolic tangent

Synopsis

template<typename T> valarray<T> tanh(const valarray<T>& a);

The tanh function computes the hyperbolic tangent of the elements of a.