|
D.2.8.15 rootofUnity
Procedure from library ring.lib (see ring_lib).
- Usage:
- rootofUnity(n); n an integer
- Return:
- number
- Purpose:
- compute the minimal polynomial for the n-th primitive root of unity
- Note:
- works only in field extensions by one element
Example:
|