Error and gamma functions

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

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>
batch<T, A> xsimd::erfc(batch<T, A> const &x)

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>
batch<T, A> xsimd::tgamma(batch<T, A> const &x)

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>
batch<T, A> xsimd::lgamma(batch<T, A> const &x)

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.