[Haskell-cafe] Is anyone working on a sparse matrix library in Haskell?

Adrien Haxaire adrien at haxaire.org
Sun Dec 2 00:19:48 CET 2012


Woops, forgot I switched to darcs after some time. The latest version can be 
found here:

http://www.funfem.org/browser/Numeric/Funfem/Algebra

Adrien

On Sunday 02 December 2012 00:00:32 Adrien Haxaire wrote:
> Hello,
> 
> I started a FEM library, funfem [1], but I stopped it for the moment;
> Haskell is my hobby and I work on FEM all day long, I prefer to focus on
> orthogonal problems for home projects. It is a very naive implementation.
> Far from a version 0.0.1 too, i.e. unusable at the moment.
> 
> I did not test the performance as it was not my main goal, so the following
> may not be completely relevant to your purpose.
> 
> I define a type Tensor [2], which is a sparse matrix based on Data.Map. Not
> sure how efficient it is, I chose to start simple. The resulting conjugate
> gradient [3] is very clear.
> 
> Please let us know how it goes, it's good to see more traction towards
> Haskell from our field, and I'll be glad to use your library !
> 
> Best regards,
> Adrien
> 
> [1] http://www.funfem.org
> 
> [2]
> https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/T
> ensor.hs
> 
> [3]
> https://github.com/adrienhaxaire/funfem/blob/master/Numeric/Funfem/Algebra/S
> olver/CG.hs
> On Thursday 29 November 2012 14:03:04 Mark Flamer wrote:
> > I am looking to continue to learn Haskell while working on something that
> > might eventually be useful to others and get posted on Hackage. I have
> > written quite a bit of Haskell code now, some useful and a lot just throw
> > away for learning. In the past others have expressed interest in having a
> > native Haskell sparse matrix and linear algebra library available(not just
> > bindings to a C lib). This in combination with FEM is one of my interests.
> > So my questions, is anyone currently working on a project like this? Does
> > it seem like a good project/addition to the community? I'm also
> > interested if anyone has any other project idea's, maybe even to
> > collaborate on. Thanks
> > 
> > 
> > 
> > --
> > View this message in context:
> > http://haskell.1045720.n5.nabble.com/Is-anyone-working-on-a-sparse-matrix-
> > l
> > ibrary-in-Haskell-tp5721452.html Sent from the Haskell - Haskell-Cafe
> > mailing list archive at Nabble.com.
> > 
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
-- 
Adrien Haxaire
www.adrienhaxaire.org | @adrienhaxaire



More information about the Haskell-Cafe mailing list