[Haskell-cafe] Sparse vector operations

Grzegorz Chrupala grzegorz.chrupala at computing.dcu.ie
Fri Feb 27 10:07:33 EST 2009


Hi all,
In a couple of my projects I have needed to perform operations on (very)
sparse vectors.
I came up with the attached simple module which defines a typeclass and
implements instances for
simple and nested (Int)Maps.
Is this the right way to go about it? Am I reinventing some wheels?
Comments welcome.
Best,
--

Grzegorz

http://www.nabble.com/file/p22247686/SparseVector.hs SparseVector.hs 
-- 
View this message in context: http://www.nabble.com/Sparse-vector-operations-tp22247686p22247686.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list