Name

sqrt function template — Computes square root

Synopsis

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

The sqrt function computes the square root of the elements of a.