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.
-
template<class
B
>
batch_type_t<B>xsimd
::
exp10
(const simd_base<B> &x)¶ Computes the base 10 exponential of the batch
x
.- Return
the base 10 exponential of
x
.- Parameters
x
: batch of floating point values.
-
template<class
B
>
batch_type_t<B>xsimd
::
expm1
(const simd_base<B> &x)¶ Computes the natural exponential of the batch
x
, minus one.- Return
the natural exponential of
x
, minus one.- Parameters
x
: batch of floating point values.
-
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.
-
template<class
B
>
batch_type_t<B>xsimd
::
log2
(const simd_base<B> &x)¶ Computes the base 2 logarithm of the batch
x
.- Return
the base 2 logarithm of
x
.- Parameters
x
: batch of floating point values.