mars.tensor.special.polygamma

mars.tensor.special.polygamma(a, b, **kwargs)[源代码]

Polygamma functions.

Defined as \(\psi^{(n)}(x)\) where \(\psi\) is the digamma function. See [dlmf] for details.

参数
  • n (array_like) – The order of the derivative of the digamma function; must be integral

  • x (array_like) – Real valued input

返回

Function results

返回类型

ndarray

参见

digamma

引用

dlmf

NIST, Digital Library of Mathematical Functions, https://dlmf.nist.gov/5.15