Name

tan function template — Computes tangent

Synopsis

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

The tan function computes the tangent of the elements of a.