Skip to content

Hyperbolic functions

cosh function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> cosh(const T1 &x)

Returns the hyperbolic cosine of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> cosh(const T1& x)
{
    return intrinsics::cosh(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L44

coshsinh function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> coshsinh(const T1 &x)

Returns the hyperbolic cosine of the even elements of the x and the hyperbolic sine of the odd elements of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> coshsinh(const T1& x)
{
    return intrinsics::coshsinh(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L74

coth function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> coth(const T1 &x)

Returns the hyperbolic cotangent of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> coth(const T1& x)
{
    return intrinsics::coth(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L58

sinh function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> sinh(const T1 &x)

Returns the hyperbolic sine of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> sinh(const T1& x)
{
    return intrinsics::sinh(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L37

sinhcosh function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> sinhcosh(const T1 &x)

Returns the hyperbolic sine of the even elements of the x and the hyperbolic cosine of the odd elements of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> sinhcosh(const T1& x)
{
    return intrinsics::sinhcosh(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L66

tanh function

template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> tanh(const T1 &x)

Returns the hyperbolic tangent of the x

Source code
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
KFR_FUNCTION flt_type<T1> tanh(const T1& x)
{
    return intrinsics::tanh(x);
}

https://github.com/kfrlib/kfr/blob//include/kfr/math/hyperbolic.hpp#L51


Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/