[Haskell-cafe] Sparse vector operations
dons at galois.com
Fri Feb 27 11:14:46 EST 2009
You might be duplicating the functionality of an existing library.
There are existing libraries for vectors (though not sure if blas
supports sparse vectors well?).
> 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.
> 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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe