-- | -- Module: Data.Poly -- Copyright: (c) 2019 Andrew Lelechenko -- Licence: BSD3 -- Maintainer: Andrew Lelechenko <andrew.lelechenko@gmail.com> -- -- Dense polynomials and a 'Num'-based interface. -- {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE PatternSynonyms #-} module Data.Poly ( Poly , VPoly , UPoly , unPoly , leading -- * Num interface , toPoly , monomial , scale , pattern X , eval , deriv , integral -- * Fractional coefficients , PolyOverFractional(..) ) where import Data.Poly.Internal.Dense import Data.Poly.Internal.Dense.Fractional () import Data.Poly.Internal.Dense.GcdDomain () import Data.Poly.Internal.PolyOverFractional