complex_nth_root#

iskra.directional.complex_nth_root(z: Tensor, n: int) Tensor[SOURCE]#

Compute the nth roots of a complex number z.

Parameters:
  • z (Tensor[Complex, […]]) – Complex numbers.

  • n (int) – Order of root to compute.

Returns:

(Tensor[Complex, […, n]]) – The \(n\text{th}\) roots of z.