Error and gamma functions

template<class B>
batch_type_t<B> xsimd::erf(const simd_base<B> &x)

Computes the error function of the batch x.

Return

the error function of x.

Parameters
  • x: batch of floating point values.

template<class B>
batch_type_t<B> xsimd::erfc(const simd_base<B> &x)

Computes the complementary error function of the batch x.

Return

the error function of x.

Parameters
  • x: batch of floating point values.

template<class B>
batch_type_t<B> xsimd::tgamma(const simd_base<B> &x)

Computes the gamma function of the batch x.

Return

the gamma function of x.

Parameters
  • x: batch of floating point values.

template<class B>
batch_type_t<B> xsimd::lgamma(const simd_base<B> &x)

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

Return

the natural logarithm of the gamma function of x.

Parameters
  • x: batch of floating point values.