tanh
tanh
template<class T>
valarray<T> tanh(const valarray<T>& x);
The template function returns an object of class valarray
<T>
, each of whose elements I
is the hyperbolic tangent of x[I]
.
See the related sample program.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
tanh
template<class T>
valarray<T> tanh(const valarray<T>& x);
The template function returns an object of class valarray
<T>
, each of whose elements I
is the hyperbolic tangent of x[I]
.
See the related sample program.