License  MIT 

Maintainer  Joe LeslieHurd <joe@gilith.com> 
Stability  provisional 
Portability  portable 
Safe Haskell  Safe 
Language  Haskell98 
Documentation
data Polynomial a Source #
Polynomial  

Instances
(Eq a, Show a) => Show (Polynomial a) Source #  
Defined in Arithmetic.Polynomial showsPrec :: Int > Polynomial a > ShowS # show :: Polynomial a > String # showList :: [Polynomial a] > ShowS # 
fromCoefficients :: Eq a => Ring a > [a] > Polynomial a Source #
zero :: Ring a > Polynomial a Source #
isZero :: Polynomial a > Bool Source #
destConstant :: Polynomial a > Maybe a Source #
isConstant :: Polynomial a > Bool Source #
fromNatural :: Eq a => Ring a > Natural > Polynomial a Source #
multiplyByPower :: Polynomial a > Natural > Polynomial a Source #
variablePower :: Eq a => Ring a > Natural > Polynomial a Source #
degree :: Polynomial a > Natural Source #
leadingCoefficient :: Polynomial a > Maybe a Source #
nthCoefficient :: Polynomial a > Natural > a Source #
evaluate :: Polynomial a > a > a Source #
addCoefficients :: Ring a > [a] > [a] > [a] Source #
add :: Eq a => Polynomial a > Polynomial a > Polynomial a Source #
negate :: Polynomial a > Polynomial a Source #
multiply :: Eq a => Polynomial a > Polynomial a > Polynomial a Source #
multiplyByScalar :: Eq a => Polynomial a > a > Polynomial a Source #
invert :: Polynomial a > Maybe (Polynomial a) Source #
subtract :: Eq a => Polynomial a > Polynomial a > Polynomial a Source #
quotientRemainder :: Eq a => Polynomial a > Polynomial a > Maybe (Polynomial a, Polynomial a) Source #
divide :: Eq a => Polynomial a > Polynomial a > Maybe (Polynomial a) Source #