Type class for finite fields
Methods
order :: k -> IntegerThe order is number of elements of a finite field
k. It of the formp^n, wherepis prime number called the characteristic of the field, andnis a positive integer.char :: k -> IntegerThe characteristic of a field,
p.pthRoot :: k -> kThe inverse of Frobenius endomorphism
x↦x^p.allValues :: [k]All values of a field
Instances1FiniteField
KnownNat p => FiniteField (PrimeField p)Defined in finite-field-0.10.0 · Data.FiniteField.PrimeField