Bessel function J1(x)
double bessel_j1( double x )
Returns the value of Bessel function J1(x)
EX1
void bessel_j1_ex1() { double dx[6] = {0.5,1,3,6,8,10}; double dResults[6]; for(int ii = 0; ii<6 ; ii++) { dResults[ii] = bessel_j1(dx[ii]); printf("%lf: %lf\n",dx[ii],dResults[ii]); } }
bessel_j0
origin.h