RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
randlib::math::portable Namespace Reference

Functions

template<std::floating_point Real>
Real besselI (std::type_identity_t< Real > nu, Real x)
 
template<std::floating_point Real>
Real besselK (std::type_identity_t< Real > nu, Real x)
 
template<std::floating_point Real>
Real riemannZeta (Real s)
 

Function Documentation

◆ besselI()

template<std::floating_point Real>
Real randlib::math::portable::besselI ( std::type_identity_t< Real >  nu,
Real  x 
)
inline

I_ν(x) overflows; keep the behaviour of std::cyl_bessel_i

Power series I_ν(x) = (x/2)^ν Σ (x²/4)^k / (k! Γ(ν + k + 1)); every term is positive

I_ν(x) overflows; keep the behaviour of std::cyl_bessel_i

Power series I_ν(x) = (x/2)^ν Σ (x²/4)^k / (k! Γ(ν + k + 1)); every term is positive

◆ besselK()

template<std::floating_point Real>
Real randlib::math::portable::besselK ( std::type_identity_t< Real >  nu,
Real  x 
)
inline

◆ riemannZeta()

template<std::floating_point Real>
Real randlib::math::portable::riemannZeta ( Real  s)
inline

Euler-Maclaurin summation with N terms and Bernoulli corrections up to B_20

Euler-Maclaurin summation with N terms and Bernoulli corrections up to B_20