Error and gamma functions

template<class T, class A>
inline batch<T, A> xsimd::erf(batch<T, A> const &x) noexcept

Computes the error function of the batch x.

Parameters

x – batch of floating point values.

Returns

the error function of x.

template<class T, class A>
inline batch<T, A> xsimd::erfc(batch<T, A> const &x) noexcept

Computes the complementary error function of the batch x.

Parameters

x – batch of floating point values.

Returns

the error function of x.

template<class T, class A>
inline batch<T, A> xsimd::tgamma(batch<T, A> const &x) noexcept

Computes the gamma function of the batch x.

Parameters

x – batch of floating point values.

Returns

the gamma function of x.

template<class T, class A>
inline batch<T, A> xsimd::lgamma(batch<T, A> const &x) noexcept

Computes the natural logarithm of the gamma function of the batch x.

Parameters

x – batch of floating point values.

Returns

the natural logarithm of the gamma function of x.