home *** CD-ROM | disk | FTP | other *** search
- # root(x,n) gives all of roots of x in n order. The first of root
- # is the P.V.
- # e.g. root(4,2) gives [2,-2] # square root of 4
- # See also: sqrt
-
- root(x_, n_) := [list(x^(1/n)*e^(2*k*pi*i/n), k,0,n-1,1)]