Name

sin function template — Computes sine

Synopsis

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

The sin function computes the sine of the elements of a.