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.

Parameters

x – batch of floating point values.

Returns

the natural exponential of x.

template<class T, class A>
batch<T, A> xsimd::exp2(batch<T, A> const &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 (const batch<T, A>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- template<class T, class A> batch<T, A> exp10(batch<T, A> const &x)

Warning

doxygenfunction: Unable to resolve function “expm1” with arguments (const batch<T, A>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- template<class T, class A> batch<T, A> expm1(batch<T, A> const &x)
template<class T, class A>
batch<T, A> xsimd::log(batch<T, A> const &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 (const batch<T, A>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- template<class T, class A> batch<T, A> log2(batch<T, A> const &x)
template<class T, class A>
batch<T, A> xsimd::log10(batch<T, A> const &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 (const batch<T, A>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- template<class T, class A> batch<T, A> log1p(batch<T, A> const &x)