[Haskell-cafe] Math libraries for Haskell

Keean Schupke k.schupke at imperial.ac.uk
Tue Jan 18 14:47:54 EST 2005


Can I request 2 types, one for dense (complete) matricies and
another for sparse matricies?

This suggests to me that a library of matrix operations should be
a set of classes that allow instances to be declared for different
implementations.

    Keean.

John Meacham wrote:

>A standard matrix representation in the libraries would be nice. (not
>necessarily all matrix operations, but a representation/type so different
>peoples matrix libraries can play nice with each other)
>I was thinking something like a general matrix type, which a class for things
>that can be converted too it, and another class with a partial function
>for converting the general matricies to specific implementation
>versions. (so that one can write a library only for square
>matricies for instance and still use the general conversion routines)
>But I am sure others have given this more thought...
>        John
>  
>


More information about the Haskell-Cafe mailing list