HaskellForMaths-0.1.9: Combinatorics, group theory, commutative algebra, non-commutative algebra

Math.Algebra.Field.Base

Synopsis

Documentation

newtype Q Source

Q is just the rationals, but with a better show function than the Prelude version

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 Fractional fq => FiniteField fq whereSource

Methods

eltsFq :: fq -> [fq]Source

basisFq :: fq -> [fq]Source

type F2 = Fp T2Source

F2 is a type for the finite field with 2 elements

f2 :: [F2]Source

f2 lists the elements of F2

type F3 = Fp T3Source

F3 is a type for the finite field with 3 elements

f3 :: [F3]Source

f3 lists the elements of F3

type F5 = Fp T5Source

F5 is a type for the finite field with 5 elements

f5 :: [F5]Source

f5 lists the elements of F5

type F7 = Fp T7Source

F7 is a type for the finite field with 7 elements

f7 :: [F7]Source

f7 lists the elements of F7