You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r is the primitive nth root of unity iff there are not other numbers k divide n such that .
Use NthRootOfUnity function to generate the primitive nth root of unity. NOTE: In my design, modulus must be prime.