[Haskell-cafe] Polynomial and VectorSpace

Henning Thielemann lemming at henning-thielemann.de
Mon Mar 16 16:50:40 EDT 2009

On Mon, 16 Mar 2009, Peter Verswyvelen wrote:

> The DSP package on Hackage seems to contain complex polynomial functions.
> It seems these functions are completely independent of the other DSP functions, so this
> package could be split of?

The matrix stuff is also independent. If you split off the polynomial 
stuff you might also adapt the identifiers to qualified style.

> Also, polynomials form a vector space, so could be made an instance of VectorSpace class?

Polynomial arithmetic is also contained in

vector-space seems to be a tough dependency, since it relies on type 
families. NumericPrelude's VectorSpace class is a multi-parameter type 

More information about the Haskell-Cafe mailing list