Special Functions

O2scl

Many mathematical functions are now provided by the GSL and Boost libraries, on which O₂scl depends. A few useful functions not provided by these two are included in O₂scl.

These classes and functions depend on the Boost multiprecision libraries, thus may not work well if O2SCL_NO_BOOST_MULTIPRECISION is defined.

Scaled Bessel Functions

The particular combination \(K_{\nu}(x) \exp(x)\) is useful for particle thermodynamics The functions for \(\nu=1, 2\) and \(3\) can be computed to double prectision by the GSL library, and an interface is provided in bessel_K_exp_integ_gsl. The class bessel_K_exp_integ_boost computes these functions to high precision using Boost.