Calculates the nth-root of a complex number.
The complex number
Optional
The index
// Returns an array of cube roots of 8const roots = Chalkboard.comp.root(Chalkboard.comp.init(8), 3); Copy
// Returns an array of cube roots of 8const roots = Chalkboard.comp.root(Chalkboard.comp.init(8), 3);
Calculates the nth-root of a complex number.