polar {cyclotomic} | R Documentation |
Complex number in polar form with rational magnitude and rational angle as a cyclotomic number.
polarDeg(r, theta)
polarRev(r, theta)
r |
magnitude, an integer number, a gmp rational number, or a
fraction given as a character string (e.g. |
theta |
angle, an integer number, a gmp rational number, or a
fraction given as a character string (e.g. |
A cyclotomic number.
polarDeg(1, 90) # should be zeta(4)
polarRev(1, "1/4") # should be zeta(4) as well