Skip to main content

polygamma

polygamma(const RealArray n, const RealArray arr) -> RealArray

Computes the polygamma function (the n-th derivative of the digamma function) of the RealArray arr element-wise.

Parameters

  • n: The order of the derivative.
  • arr: The input RealArray.