maxframe.tensor.special.kv#

maxframe.tensor.special.kv(v, z, out=None)[source]#

Modified Bessel function of the second kind of real order v

Returns the modified Bessel function of the second kind for real order v at complex z.

These are also sometimes called functions of the third kind, Basset functions, or Macdonald functions. They are defined as those solutions of the modified Bessel equation for which,

\[K_v(x) \sim \sqrt{\pi/(2x)} \exp(-x)\]

as \(x \to \infty\) [3].

Parameters:
  • v (array_like of float) – Order of Bessel functions

  • z (array_like of complex) – Argument at which to evaluate the Bessel functions

  • out (ndarray, optional) – Optional output array for the function results

Returns:

The results. Note that input must be of complex type to get complex output, e.g. kv(3, -2+0j) instead of kv(3, -2).

Return type:

scalar or ndarray

See also

kve

This function with leading exponential behavior stripped off.

kvp

Derivative of this function

Notes

Wrapper for AMOS [1] routine zbesk. For a discussion of the algorithm used, see [2] and the references therein.

References