NumericPrelude-0.0: An experimental alternative hierarchy of numeric type classesContentsIndex
MathObj.RootSet
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainernumericprelude@henning-thielemann.de
Contents
Conversions
Show
Additive
Ring
Field.C
Algebra
Description

Computations on the set of roots of a polynomial. These are represented as the list of their elementar symmetric terms. The difference between a polynomial and the list of elementar symmetric terms is the reversed order and the alternated signs.

Cf. MathObj.PowerSum .

Synopsis
newtype T a = Cons {
coeffs :: [a]
}
lift0 :: [a] -> T a
lift1 :: ([a] -> [a]) -> T a -> T a
lift2 :: ([a] -> [a] -> [a]) -> T a -> T a -> T a
const :: C a => a -> T a
toPolynomial :: T a -> T a
fromPolynomial :: T a -> T a
toPowerSums :: (C a, C a) => [a] -> [a]
fromPowerSums :: (C a, C a) => [a] -> [a]
addRoot :: C a => a -> [a] -> [a]
fromRoots :: C a => [a] -> [a]
liftPowerSum1Gen :: ([a] -> [a]) -> ([a] -> [a]) -> ([a] -> [a]) -> [a] -> [a]
liftPowerSum2Gen :: ([a] -> [a]) -> ([a] -> [a]) -> ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
liftPowerSum1 :: (C a, C a) => ([a] -> [a]) -> [a] -> [a]
liftPowerSum2 :: (C a, C a) => ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
liftPowerSumInt1 :: (C a, Eq a, C a) => ([a] -> [a]) -> [a] -> [a]
liftPowerSumInt2 :: (C a, Eq a, C a) => ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
appPrec :: Int
add :: (C a, C a) => [a] -> [a] -> [a]
addInt :: (C a, Eq a, C a) => [a] -> [a] -> [a]
mul :: (C a, C a) => [a] -> [a] -> [a]
mulInt :: (C a, Eq a, C a) => [a] -> [a] -> [a]
pow :: (C a, C a) => Integer -> [a] -> [a]
powInt :: (C a, Eq a, C a) => Integer -> [a] -> [a]
Documentation
newtype T a
Constructors
Cons
coeffs :: [a]
show/hide Instances
(C a, C a) => C (T a)
(C a, C a) => C (T a)
(C a, C a) => C (T a)
(C a, C a) => C (T a)
Show a => Show (T a)
Conversions
lift0 :: [a] -> T a
lift1 :: ([a] -> [a]) -> T a -> T a
lift2 :: ([a] -> [a] -> [a]) -> T a -> T a -> T a
const :: C a => a -> T a
toPolynomial :: T a -> T a
fromPolynomial :: T a -> T a
toPowerSums :: (C a, C a) => [a] -> [a]
fromPowerSums :: (C a, C a) => [a] -> [a]
addRoot :: C a => a -> [a] -> [a]
cf. mulLinearFactor
fromRoots :: C a => [a] -> [a]
liftPowerSum1Gen :: ([a] -> [a]) -> ([a] -> [a]) -> ([a] -> [a]) -> [a] -> [a]
liftPowerSum2Gen :: ([a] -> [a]) -> ([a] -> [a]) -> ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
liftPowerSum1 :: (C a, C a) => ([a] -> [a]) -> [a] -> [a]
liftPowerSum2 :: (C a, C a) => ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
liftPowerSumInt1 :: (C a, Eq a, C a) => ([a] -> [a]) -> [a] -> [a]
liftPowerSumInt2 :: (C a, Eq a, C a) => ([a] -> [a] -> [a]) -> [a] -> [a] -> [a]
Show
appPrec :: Int
Additive
add :: (C a, C a) => [a] -> [a] -> [a]
addInt :: (C a, Eq a, C a) => [a] -> [a] -> [a]
Ring
mul :: (C a, C a) => [a] -> [a] -> [a]
mulInt :: (C a, Eq a, C a) => [a] -> [a] -> [a]
pow :: (C a, C a) => Integer -> [a] -> [a]
powInt :: (C a, Eq a, C a) => Integer -> [a] -> [a]
Field.C
Algebra
Produced by Haddock version 0.7