nag_bessel_k0_scaled_vector (s18cqc) returns an array of values of the scaled modified Bessel function .
The function uses the same Chebyshev expansions as
nag_bessel_k0_vector (s18aqc), 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.
Not applicable.
None.
This example reads values of
x from a file, evaluates the function at each value of
and prints the results.