simdpp::sqrt

From cppreference.com
< fp
template<unsigned N, class E>
Ret<N, _DETAIL_> sqrt( Vec<N,E> a );

Computes the square root of the values in a floating-point vector towards nearest integer value. The implementation behaves as if the following set of overloads is provided:

Ret Vec
float32 float32
float64 float64

The return type is a vector expression.

Contents

Parameters

a - floating-point vector

Return value

A vector expression evaluating to sqrt(a).

Equivalent operation

r0 = sqrt(a0)
...
rN = sqrt(aN)

See also