| polar {cyclotomic} | R Documentation | 
Polar complex number with rational magnitude and angle
Description
Complex number in polar form with rational magnitude and rational angle as a cyclotomic number.
Usage
polarDeg(r, theta)
polarRev(r, theta)
Arguments
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.   | 
Value
A cyclotomic number.
Examples
polarDeg(1, 90)    # should be zeta(4)
polarRev(1, "1/4") # should be zeta(4) as well
[Package cyclotomic version 1.3.0 Index]