zeta {cyclotomic} | R Documentation |
The primitive n-th root of unity.
Description
For example, 'zeta(4) = i' is the primitive 4th root of unity, and 'zeta(5) = exp(2*pi*i/5)' is the primitive 5th root of unity. In general, 'zeta(n) = exp(2*pi*i/n)'.
Usage
zeta(n)
Arguments
n |
a positive integer |
Value
A cyclotomic number.
Examples
zeta(4)
[Package cyclotomic version 1.3.0 Index]