Hyperbolic functions

template<class T, class A>
batch<T, A> xsimd::sinh(batch<T, A> const &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, class A>
batch<T, A> xsimd::cosh(batch<T, A> const &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, class A>
batch<T, A> xsimd::tanh(batch<T, A> const &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, class A>
batch<T, A> xsimd::asinh(batch<T, A> const &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, class A>
batch<T, A> xsimd::acosh(batch<T, A> const &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, class A>
batch<T, A> xsimd::atanh(batch<T, A> const &x)

Computes the inverse hyperbolic tangent of the batch x.

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