Scaled modified Bessel function exp(-|x|)I1(x)
double bessel_i1_scaled( double x )
Returns a value of scaled modified Bessel function exp(-|x|)I1(x)
EX1
void bessel_i1_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_i1_scaled(dx[ii]); printf("%lf: %lf\n",dx[ii],dResults[ii]); } }
bessel_i1, bessel_i0_scaled
origin.h