finite-field-0.10.0: Finite Fields
Copyright(c) Masahiro Sakai 2013
LicenseBSD-style
Maintainermasahiro.sakai@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.FiniteField.Base

Description

 
Synopsis

Documentation

class Fractional k => FiniteField k where Source #

Type class for finite fields

Methods

order :: k -> Integer Source #

The order is number of elements of a finite field k. It of the form p^n, where p is prime number called the characteristic of the field, and n is a positive integer.

char :: k -> Integer Source #

The characteristic of a field, p.

pthRoot :: k -> k Source #

The inverse of Frobenius endomorphism xx^p.

allValues :: [k] Source #

All values of a field

Instances

Instances details
KnownNat p => FiniteField (PrimeField p) Source # 
Instance details

Defined in Data.FiniteField.PrimeField