Scaled modified Bessel function exp(x)K/4(x)
double bessel_k_nu_scaled( double x, int nu )
Returns the value of scaled modified Bessel function exp(x)K/4(x)
EX1
void bessel_k_nu_scaled_ex1() { double dx[6] = {3.9,1.4,8.2,6.7,0.5,2.3}; double duu[6] = {-3,-2,-1,1,2,3}; double dResults[6]; for(int ii = 0; ii<6 ; ii++) { dResults[ii] = bessel_k_nu_scaled(dx[ii],duu[ii]); printf("%lf: %lf\n",dx[ii],dResults[ii]); } }
origin.h