UNIROOTS

Purpose:

Generates a series containing the n-Complex roots of unity.

Syntax:

UNIROOTS(n)

n

-

An integer. Number of roots to generate.

Returns:

Series or table with n points.

Example:

uniroots(3)

 

returns the complex series

 

{1 + 0i, -0.5 + 0.8660i, -0.5 - 0.8660i}

Remarks:

UNIROOTS is used internally, but you are welcome to find a use for it.

 

See POLYROOT to find the roots of a polynomial.

See Also:

POLYROOT

RTHROOT