coincident-root-loci-0.2: Equivariant CSM classes of coincident root loci

Safe HaskellNone
LanguageHaskell2010

Math.RootLoci.Algebra

Description

Re-exporting the Algebra.* modules.

Because of limitations of the import-export mechanism, you still have to do

import Math.RootLoci.Algebra
import qualified Math.RootLoci.Algebra.FreeMod as ZMod

Synopsis

Documentation

type ZMod base = FreeMod Integer base Source #

Free module with integer coefficients

type QMod base = FreeMod Rational base Source #

Free module with rational coefficients

data FreeMod coeff base Source #

Free module over a coefficient ring with the given base. Internally a map storing the coefficients. We maintain the invariant that the coefficients are never zero.

Instances

(Eq coeff, Eq base) => Eq (FreeMod coeff base) Source # 

Methods

(==) :: FreeMod coeff base -> FreeMod coeff base -> Bool #

(/=) :: FreeMod coeff base -> FreeMod coeff base -> Bool #

(Monoid b, Ord b, Eq c, Num c) => Num (FreeMod c b) Source # 

Methods

(+) :: FreeMod c b -> FreeMod c b -> FreeMod c b #

(-) :: FreeMod c b -> FreeMod c b -> FreeMod c b #

(*) :: FreeMod c b -> FreeMod c b -> FreeMod c b #

negate :: FreeMod c b -> FreeMod c b #

abs :: FreeMod c b -> FreeMod c b #

signum :: FreeMod c b -> FreeMod c b #

fromInteger :: Integer -> FreeMod c b #

(Show coeff, Show base) => Show (FreeMod coeff base) Source # 

Methods

showsPrec :: Int -> FreeMod coeff base -> ShowS #

show :: FreeMod coeff base -> String #

showList :: [FreeMod coeff base] -> ShowS #

(Num c, Eq c, Show c, IsSigned c, Pretty b) => Pretty (FreeMod c b) Source # 

Methods

pretty :: FreeMod c b -> String Source #