Power functions¶
Warning
doxygenfunction: Unable to resolve multiple matches for function “pow” with arguments () in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template <class B, class T1>
std::enable_if<std::is_integral<T1>::value, batch_type_t<B>>::type xsimd::pow(const simd_base<B>&, const T1&)
- template <class B>
batch_type_t<B> xsimd::pow(const simd_base<B>&, const simd_base<B>&)
- template <class T0, class T1>
auto xsimd::pow(const T0&, const T1&)
- template <class T0, class T1>
auto xsimd::pow(const T0&, const std::complex<T1>&)
- template <class T0, class T1>
std::enable_if<!std::is_integral<T1>::value, std::complex<T0>>::type xsimd::pow(const std::complex<T0>&, const T1&)
- template <class T0, class T1>
std::enable_if<std::is_integral<T1>::value, T0>::type xsimd::pow(const T0&, const T1&)
- template <class T0, class T1>
std::enable_if<std::is_integral<T1>::value, std::complex<T0>>::type xsimd::pow(const std::complex<T0>&, const T1&)
Warning
doxygenfunction: Unable to resolve multiple matches for function “sqrt” with arguments (const simd_batch<X>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- static batch_type xsimd::detail::batch_kernel::sqrt(const batch_type&)
- static batch_type xsimd::detail::complex_batch_kernel::sqrt(const batch_type&)
- template <class X>
batch_type_t<X> xsimd::sqrt(const simd_base<X>&)
- template <class B>
-
batch_type_t<B>
xsimd::cbrt(const simd_base<B> &x)¶ Computes the cubic root of the batch
x.- Return
the cubic root of
x.- Parameters
x: batch of floating point values.
- template <class B>
-
batch_type_t<B>
xsimd::hypot(const simd_base<B> &x, const simd_base<B> &y)¶ 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
xandy.- Parameters
x: batch of floating point values.y: batch of floating point values.