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.

Warning

doxygenfunction: Unable to resolve multiple matches for function “tanh” with arguments (const batch<T, N>&) in doxygen xml output for project “xsimd” from directory: ../xml. Potential matches:

- static B xsimd::detail::tanh_kernel_impl::tanh(const B&)
- template<class B>
  batch_type_t<B> xsimd::tanh(const simd_base<B>&)
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.