---------------------------------------------------------------------- module CoeffExamples where import CoeffPoly ---------------------------------------------------------------------- -- COMP2600 -- Assignment 1, 2003 -- Here are some sample polynomials to get you started with testing -- the list of coeffs representation polynomial package. ---------------------------------------------------------------------- poly1 = [18.7, -3.7, 0.0, 2.4, 0.0, 0.0, 8.3] :: Poly poly2 = [-18.7, 3.7, 0.0, -2.4, 0.0, 0.0, -8.3] :: Poly poly3 = [0.0, -2.0, 0.0, 4.7] :: Poly poly4 = [0.0, 1.0] :: Poly poly5 = [42.0] :: Poly poly0 = [] :: Poly ----------------------------------------------------------------------