HaskellForMaths-0.1.6

Math.Algebra.Field.Base

Documentation

newtype Q Source

Constructors

Q Rational 

newtype Fp n Source

Constructors

Fp Integer 

Instances

Eq (Fp n) 
IntegerAsType n => Fractional (Fp n) 
IntegerAsType n => Num (Fp n) 
Ord (Fp n) 
Show (Fp n) 
IntegerAsType p => FiniteField (Fp p) 

class FiniteField fq whereSource

Methods

eltsFq :: fq -> [fq]Source

basisFq :: fq -> [fq]Source

Instances

type F2 = Fp T2Source

type F3 = Fp T3Source

type F5 = Fp T5Source

type F7 = Fp T7Source