Power functions¶
Warning
doxygenfunction: Unable to resolve function “pow” with arguments None 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 pow(const simd_base<B> &t0, const T1 &t1)
- template<class B> batch_type_t<B> pow(const simd_base<B> &x, const simd_base<B> &y)
- template<class T0, class T1> auto pow(const T0 &t0, const T1 &t1) -> typename std::enable_if<std::is_scalar<T0>::value && std::is_floating_point<T1>::value, decltype(std::pow(t0, t1))>::type
- template<class T0, class T1> auto pow(const T0 &t0, const std::complex<T1> &t1) -> typename std::enable_if<std::is_scalar<T0>::value, decltype(std::pow(t0, t1))>::type
- template<class T0, class T1> std::enable_if<!std::is_integral<T1>::value, std::complex<T0>>::type pow(const std::complex<T0> &t0, const T1 &t1)
- template<class T0, class T1> std::enable_if<std::is_integral<T1>::value, T0>::type pow(const T0 &t0, const T1 &t1)
- template<class T0, class T1> std::enable_if<std::is_integral<T1>::value, std::complex<T0>>::type pow(const std::complex<T0> &t0, const T1 &t1)
Warning
doxygenfunction: Unable to resolve function “sqrt” with arguments (const simd_batch<X>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &rhs)
- batch_type sqrt(const batch_type &z)
- template<class X> batch_type_t<X> sqrt(const simd_base<X> &rhs)
-
template<class
B>
inline batch_type_t<B>xsimd::cbrt(const simd_base<B> &x)¶ Computes the cubic root of the batch
x.- Parameters
x – batch of floating point values.
- Returns
the cubic root of
x.
-
template<class
B>
inline 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.- Parameters
x – batch of floating point values.
y – batch of floating point values.
- Returns
the square root of the sum of the squares of
xandy.