ToySolver.Data.Polynomial

Polynomial type

data Polynomial r v

Conversion

class Var a v

constant

terms

fromTerms

coeffMap

fromCoeffMap

fromTerm

Query

class Degree t

class Vars a v

lt

lc

lm

coeff

lookupCoeff

isPrimitive

Operations

class Factor a

class SQFree a

class ContPP k

deriv

integral

eval

subst

mapCoeff

toMonic

toUPolynomialOf

divModMP

reduce

Univariate polynomials

type UPolynomial r

data X

type UTerm k

type UMonomial

div

mod

divMod

divides

gcd

lcm

exgcd

pdivMod

pdiv

pmod

gcd'

isRootOf

isSquareFree

nat

Term

type Term k v

tdeg

tscale

tmult

tdivides

tdiv

tderiv

tintegral

Monic monomial

data Monomial v

mone

mfromIndices

mfromIndicesMap

mindices

mindicesMap

mmult

mpow

mdivides

mdiv

mderiv

mintegral

mlcm

mgcd

mcoprime

Monomial order

type MonomialOrder v

lex

revlex

grlex

grevlex

Pretty Printing

data PrintOptions k v

defaultPrintOptions

prettyPrint

class PrettyCoeff a

class PrettyVar a