nag_bessel_i0_scaled_vector (s18csc) returns an array of values of the scaled modified Bessel function .
The function uses the same Chebyshev expansions as
nag_bessel_i0_vector (s18asc), which returns an array of the unscaled values of
.
Relative errors in the argument are attenuated when propagated into the function value. When the accuracy of the argument is essentially limited by the machine precision, the accuracy of the function value will be similarly limited by at most a small multiple of the machine precision.
nag_bessel_i0_scaled_vector (s18csc) is not threaded in any implementation.
None.
This example reads values of
x from a file, evaluates the function at each value of
and prints the results.