Hyperbolic functions

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

Computes the hyperbolic sine of the batch x.

Return

the hyperbolic sine of x.

Parameters
  • x: batch of floating point values.

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

Computes the hyperbolic cosine of the batch x.

Return

the hyperbolic cosine of x.

Parameters
  • x: batch of floating point values.

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

Computes the hyperbolic tangent of the batch x.

Return

the hyperbolic tangent of x.

Parameters
  • x: batch of floating point values.

template<class B>
batch_type_t<B> xsimd::asinh(const simd_base<B> &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 B>
batch_type_t<B> xsimd::acosh(const simd_base<B> &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 B>
batch_type_t<B> xsimd::atanh(const simd_base<B> &x)

Computes the inverse hyperbolic tangent of the batch x.

Return

the inverse hyperbolic tangent of x.

Parameters
  • x: batch of floating point values.