mars.tensor.special.kn#

mars.tensor.special.kn(n, x, **kwargs)[源代码]#

Modified Bessel function of the second kind of integer order n

Returns the modified Bessel function of the second kind for integer order n at real z.

These are also sometimes called functions of the third kind, Basset functions, or Macdonald functions.

参数
  • n (array_like of int) – Order of Bessel functions (floats will truncate with a warning)

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

返回

out – The results

返回类型

ndarray

备注

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

参见

kv

Same function, but accepts real order and complex argument

kvp

Derivative of this function

引用

1

Donald E. Amos, “AMOS, A Portable Package for Bessel Functions of a Complex Argument and Nonnegative Order”, http://netlib.org/amos/

2

Donald E. Amos, “Algorithm 644: A portable package for Bessel functions of a complex argument and nonnegative order”, ACM TOMS Vol. 12 Issue 3, Sept. 1986, p. 265