
ForSyDe.Shallow.PolyArith  Portability  portable  Stability  experimental  Maintainer  forsydedev@ict.kth.se 





Description 
This is the polynomial arithematic library. The arithematic operations include
addition, multiplication, division and power. However, the computation time is
not optimized for multiplication and is O(n2), which could be considered to be
optimized by FFT algorithms later on.


Synopsis 




Polynomial data type



Polynomial data type.
 Constructors   Instances  


Addition, DmMultiplication, division and power operations



Addition operations of polynomials.



Multiplication operation of polynomials.



Division operation of polynomials.



Power operation of polynomials.


Some helper functions



Some helper functions below.
To get the coefficients of the polynomial.




addPolyCoef :: Num a => [a] > [a] > [a]  Source 




scalePolyCoef :: Num a => a > [a] > [a]  Source 


Produced by Haddock version 2.1.0 