Scaled modified Bessel function exp(-|x|)I0(x)
double bessel_i0_scaled( double x )
Returns a value of scaled modified Bessel function exp(-|x|)I0(x)
EX1
void bessel_i0_scaled_ex1() { double dx[6] = {0.4,0.6,1.4,2.5,10.0,1000.0}; double dResults[6]; for(int ii = 0; ii<6 ; ii++) { dResults[ii] = bessel_i0_scaled(dx[ii]); printf("%lf: %lf\n",dx[ii],dResults[ii]); } }
bessel_i1_scaled, bessel_i0
origin.h