Exponential functions¶
-
template<class T, class A>
inline batch<T, A> xsimd::exp(batch<T, A> const &x) noexcept¶ Computes the natural exponential of the batch
x
.- Parameters
x – batch of floating point values.
- Returns
the natural exponential of
x
.
-
template<class T, class A>
inline batch<T, A> xsimd::exp2(batch<T, A> const &x) noexcept¶ Computes the base 2 exponential of the batch
x
.- Parameters
x – batch of floating point values.
- Returns
the base 2 exponential of
x
.
-
template<class T, class A>
inline batch<T, A> xsimd::exp10(batch<T, A> const &x) noexcept¶ Computes the base 10 exponential of the batch
x
.- Parameters
x – batch of floating point values.
- Returns
the base 10 exponential of
x
.
-
template<class T, class A>
inline batch<T, A> xsimd::expm1(batch<T, A> const &x) noexcept¶ Computes the natural exponential of the batch
x
, minus one.- Parameters
x – batch of floating point values.
- Returns
the natural exponential of
x
, minus one.
-
template<class T, class A>
inline batch<T, A> xsimd::log(batch<T, A> const &x) noexcept¶ Computes the natural logarithm of the batch
x
.- Parameters
x – batch of floating point values.
- Returns
the natural logarithm of
x
.
-
template<class T, class A>
inline batch<T, A> xsimd::log2(batch<T, A> const &x) noexcept¶ Computes the base 2 logarithm of the batch
x
.- Parameters
x – batch of floating point values.
- Returns
the base 2 logarithm of
x
.