naginterfaces.library.specfun.bessel_​k0_​scaled_​vector

naginterfaces.library.specfun.bessel_k0_scaled_vector(x)[source]

bessel_k0_scaled_vector returns an array of values of the scaled modified Bessel function .

For full information please refer to the NAG Library document for s18cq

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/s/s18cqf.html

Parameters
xfloat, array-like, shape

The argument of the function, for .

Returns
ffloat, ndarray, shape

, the function values.

ivalidint, ndarray, shape

contains the error code for , for .

No error.

On entry, , is undefined. contains .

Raises
NagValueError
(errno )

On entry, .

Constraint: .

Warns
NagAlgorithmicWarning
(errno )

On entry, at least one value of was invalid.

Check for more information.

Notes

bessel_k0_scaled_vector evaluates an approximation to , where is a modified Bessel function of the second kind for an array of arguments , for . The scaling factor removes most of the variation in .

The function uses the same Chebyshev expansions as bessel_k0_real_vector(), which returns an array of the unscaled values of .

References

NIST Digital Library of Mathematical Functions