Skip to content

Function coth

function coth(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> coth(const T1& x)

Returns the hyperbolic cotangent of x.

Computes (exp(2x) + 1) / (exp(2x) - 1) element-wise. The result is undefined where x is 0.

Parameters
x Input value or SIMD vector of values (must be nonzero).
Returns
Hyperbolic cotangent of x, with the floating-point type derived from the input.

Fully qualified name: kfr::coth(const T1 &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.