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.

Parameters

x – batch of floating point values.

Returns

the hyperbolic sine of x.

template<class T, class A>
batch<T, A> xsimd::cosh(batch<T, A> const &x)

computes the hyperbolic cosine of the batch x.

Parameters

x – batch of floating point values.

Returns

the hyperbolic cosine of x.

Warning

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

- template<class T, class A> batch<T, A> tanh(batch<T, A> const &x)
template<class T, class A>
batch<T, A> xsimd::asinh(batch<T, A> const &x)

Computes the inverse hyperbolic sine of the batch x.

Parameters

x – batch of floating point values.

Returns

the inverse hyperbolic sine of x.

template<class T, class A>
batch<T, A> xsimd::acosh(batch<T, A> const &x)

Computes the inverse hyperbolic cosine of the batch x.

Parameters

x – batch of floating point values.

Returns

the inverse hyperbolic cosine of x.

template<class T, class A>
batch<T, A> xsimd::atanh(batch<T, A> const &x)

Computes the inverse hyperbolic tangent of the batch x.

Parameters

x – batch of floating point values.

Returns

the inverse hyperbolic tangent of x.