Power functions¶
Warning
doxygenfunction: Unable to resolve multiple matches for function “xsimd::pow” with arguments ((batch<T, A> const&, batch<T, A> const&)) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template<class T, class A> batch<T, A> pow(batch<T, A> const &x, batch<T, A> const &y) noexcept
- template<class T, class ITy, class A, class = typename std::enable_if<std::is_integral<ITy>::value, void>::type> batch<T, A> pow(batch<T, A> const &x, ITy y) noexcept
-
template<class
T
, classA
>
batch<T, A>xsimd
::
rsqrt
(batch<T, A> const &x) noexcept¶ Computes the inverse square root of the batch
x
.- Return
the inverse square root of
x
.- Parameters
x
: batch of floating point values.
-
template<class
T
, classA
>
batch<T, A>xsimd
::
sqrt
(batch<T, A> const &x) noexcept¶ Computes the square root of the batch
x
.- Return
the square root of
x
.- Parameters
x
: batch of floating point values.
-
template<class
T
, classA
>
batch<T, A>xsimd
::
cbrt
(batch<T, A> const &x) noexcept¶ Computes the cubic root of the batch
x
.- Return
the cubic root of
x
.- Parameters
x
: batch of floating point values.
-
template<class
T
, classA
>
batch<T, A>xsimd
::
hypot
(batch<T, A> const &x, batch<T, A> const &y) noexcept¶ Computes the square root of the sum of the squares of the batches
x
, andy
.- Return
the square root of the sum of the squares of
x
andy
.- Parameters
x
: batch of floating point values.y
: batch of floating point values.