Exponential functions¶
- template <class T, class A>
-
batch<T, A>
xsimd
::
exp
(batch<T, A> const &x)¶ Computes the natural exponential of the batch
x
.- Return
the natural exponential of
x
.- Parameters
x
: batch of floating point values.
- template <class T, class A>
-
batch<T, A>
xsimd
::
exp2
(batch<T, A> const &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 T, class A>
-
batch<T, A>
xsimd
::
exp10
(batch<T, A> const &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 T, class A>
-
batch<T, A>
xsimd
::
expm1
(batch<T, A> const &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 T, class A>
-
batch<T, A>
xsimd
::
log
(batch<T, A> const &x)¶ Computes the natural logarithm of the batch
x
.- Return
the natural logarithm of
x
.- Parameters
x
: batch of floating point values.
- template <class T, class A>
-
batch<T, A>
xsimd
::
log2
(batch<T, A> const &x)¶ Computes the base 2 logarithm of the batch
x
.- Return
the base 2 logarithm of
x
.- Parameters
x
: batch of floating point values.
- template <class T, class A>
-
batch<T, A>
xsimd
::
log10
(batch<T, A> const &x)¶ Computes the base 10 logarithm of the batch
x
.- Return
the base 10 logarithm of
x
.- Parameters
x
: batch of floating point values.
- template <class T, class A>
-
batch<T, A>
xsimd
::
log1p
(batch<T, A> const &x)¶ Computes the natural logarithm of one plus the batch
x
.- Return
the natural logarithm of one plus
x
.- Parameters
x
: batch of floating point values.