Error and gamma functions

template <class T, std::size_t N>
batch<T, N> xsimd::erf(const batch<T, N> &x)

Computes the error function of the batch x.

Return
the error function of x.
Parameters
  • x: batch of floating point values.

template <class T, std::size_t N>
batch<T, N> xsimd::erfc(const batch<T, N> &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 T, std::size_t N>
batch<T, N> xsimd::tgamma(const batch<T, N> &x)

Computes the gamma function of the batch x.

Return
the gamma function of x.
Parameters
  • x: batch of floating point values.

template <class T, std::size_t N>
batch<T, N> xsimd::lgamma(const batch<T, N> &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.