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