Hyperbolic functions

xtensor provides the following hyperbolic functions for xexpressions:

Defined in xtensor/core/xmath.hpp

template<class E>
inline detail::xfunction_type_t<math::sinh_fun, E> sinh(E &&e) noexcept

Hyperbolic sine function.

Returns an xfunction for the element-wise hyperbolic sine of e.

Parameters:

e – an xexpression

Returns:

an xfunction

template<class E>
inline detail::xfunction_type_t<math::cosh_fun, E> cosh(E &&e) noexcept

Hyperbolic cosine function.

Returns an xfunction for the element-wise hyperbolic cosine of e.

Parameters:

e – an xexpression

Returns:

an xfunction

template<class E>
inline detail::xfunction_type_t<math::tanh_fun, E> tanh(E &&e) noexcept

Hyperbolic tangent function.

Returns an xfunction for the element-wise hyperbolic tangent of e.

Parameters:

e – an xexpression

Returns:

an xfunction

template<class E>
inline detail::xfunction_type_t<math::asinh_fun, E> asinh(E &&e) noexcept

Inverse hyperbolic sine function.

Returns an xfunction for the element-wise inverse hyperbolic sine of e.

Parameters:

e – an xexpression

Returns:

an xfunction

template<class E>
inline detail::xfunction_type_t<math::acosh_fun, E> acosh(E &&e) noexcept

Inverse hyperbolic cosine function.

Returns an xfunction for the element-wise inverse hyperbolic cosine of e.

Parameters:

e – an xexpression

Returns:

an xfunction

template<class E>
inline detail::xfunction_type_t<math::atanh_fun, E> atanh(E &&e) noexcept

Inverse hyperbolic tangent function.

Returns an xfunction for the element-wise inverse hyperbolic tangent of e.

Parameters:

e – an xexpression

Returns:

an xfunction