Evaluates the real modified Bessel function of the first kind of order zero I0(x).
#include <imsl.h>
float imsl_f_bessel_I0 (float x)
The type double procedure is imsl_d_bessel_I0.
float x
(Input)
Point at which the modified Bessel function is to be evaluated.
The value of the Bessel function

If no solution can be computed, NaN is returned.
For large |x|, imsl_f_bessel_I0 will overflow.

Figure 9- 11 Plot of I0(x) and I1(x)
The Bessel function I0(1.5) is evaluated.
#include
<imsl.h>
main()
{
float x = 1.5;
float ans;
ans =
imsl_f_bessel_I0(x);
printf("I0(%f) = %f\n", x,
ans);
}
I0(1.500000) = 1.646723
IMSL_LARGE_ABS_ARG_FATAL The absolute value of x must not be so large that e|x| overflows.
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |