Exponential functions¶
-
template<class
B>
inline batch_type_t<B>xsimd::exp(const simd_base<B> &x)¶ Computes the natural exponential of the batch
x.- Parameters
x – batch of floating point values.
- Returns
the natural exponential of
x.
-
template<class
B>
inline batch_type_t<B>xsimd::exp2(const simd_base<B> &x)¶ Computes the base 2 exponential of the batch
x.- Parameters
x – batch of floating point values.
- Returns
the base 2 exponential of
x.
Warning
doxygenfunction: Unable to resolve function “exp10” with arguments None in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template<class B> batch_type_t<B> exp10(const simd_base<B> &x)
- template<class T, class = typename std::enable_if<std::is_scalar<T>::value>::type> T exp10(const T &x)
Warning
doxygenfunction: Unable to resolve function “expm1” with arguments None in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template<class B> batch_type_t<B> expm1(const simd_base<B> &x)
- template<class T> std::complex<T> expm1(const std::complex<T> &val)
-
template<class
B>
inline batch_type_t<B>xsimd::log(const simd_base<B> &x)¶ Computes the natural logarithm of the batch
x.- Parameters
x – batch of floating point values.
- Returns
the natural logarithm of
x.
Warning
doxygenfunction: Unable to resolve function “log2” with arguments None in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template<class B> batch_type_t<B> log2(const simd_base<B> &x)
- template<class T> std::complex<T> log2(const std::complex<T> &val)
-
template<class
B>
inline batch_type_t<B>xsimd::log10(const simd_base<B> &x)¶ Computes the base 10 logarithm of the batch
x.- Parameters
x – batch of floating point values.
- Returns
the base 10 logarithm of
x.
Warning
doxygenfunction: Unable to resolve function “log1p” with arguments None in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:
- template<class B> batch_type_t<B> log1p(const simd_base<B> &x)
- template<class T> std::complex<T> log1p(const std::complex<T> &val)