polygamma

Contents

polygamma#

class brainunit.lax.polygamma(x, y, unit_to_scale=None, **kwargs)#

Elementwise polygamma: \(\psi^{(m)}(x)\).

Parameters:
  • x (Array | ndarray | bool | number | bool | int | float | complex | saiunit.Quantity) – The order of the polygamma function.

  • y (Array | ndarray | bool | number | bool | int | float | complex | saiunit.Quantity) – The argument.

  • unit_to_scale (saiunit.Unit | None) – If provided, inputs are scaled by this unit before applying the function.

Returns:

result – Always unitless.

Return type:

Array