Hyperbolic functions

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

Computes the hyperbolic sine of the batch x.

Return
the hyperbolic sine of x.
Parameters
  • x: batch of floating point values.

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

Computes the hyperbolic cosine of the batch x.

Return
the hyperbolic cosine of x.
Parameters
  • x: batch of floating point values.

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

Computes the hyperbolic tangent of the batch x.

Return
the hyperbolic tangent of x.
Parameters
  • x: batch of floating point values.

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

Computes the inverse hyperbolic sine of the batch x.

Return
the inverse hyperbolic sine of x.
Parameters
  • x: batch of floating point values.

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

Computes the inverse hyperbolic cosine of the batch x.

Return
the inverse hyperbolic cosine of x.
Parameters
  • x: batch of floating point values.

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

Computes the inverse hyperbolic tangent of the batch x.

Return
the inverse hyperbolic tangent of x.
Parameters
  • x: batch of floating point values.