sqrt
template<class T>
valarray<T> sqrt(const valarray<T>& x);
The template function returns an object of class valarray<T>, each of whose elements I is the square root of x[I].
See the related sample program.
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
sqrt
template<class T>
valarray<T> sqrt(const valarray<T>& x);
The template function returns an object of class valarray<T>, each of whose elements I is the square root of x[I].
See the related sample program.