sinhc_pi

| Home | Libraries | People | FAQ | More

#### sinhc_pi

    #include <boost/math/special_functions/sinhc.hpp>

    template<class T>
    calculated-result-type sinhc_pi(const T x);

    template<class T, class Policy>
    calculated-result-type sinhc_pi(const T x, const Policy&);

    template<typename T, template<typename> class U>
    U<T> sinhc_pi(const U<T> x);

    template<class T, template<typename> class U, class Policy>
    U<T> sinhc_pi(const U<T> x, const Policy&);

Computes http://mathworld.wolfram.com/SinhcFunction.html the Hyperbolic Sinus Cardinal of x:

    sinhc_pi(x) = sinh(x) / x

The second form is for complex numbers, quaternions, octonions etc. Taylor series are used at the origin to ensure accuracy.

The return type of the first form is computed using the result type calculation rules when T is an integer type.

The final Policy argument is optional and can be used to control the behaviour of the function: how it handles errors, what level of precision to use etc. Refer to the policy documentation for more details.