28

I am starting to test Haskell for linear algebra. Does anyone have any recommendations for the best package for this purpose? Any other good resources for doing basic matrix manipulation with Haskell?

The haskell wiki lists several resources for this. My current focus in on hmatrix and bindings-gsl, both of which look promising.

kolen
  • 2,752
  • 2
  • 27
  • 35
Shane
  • 98,550
  • 35
  • 224
  • 217

2 Answers2

21

The hmatrix and hmatrix-static libraries are excellent. Hunt around on Hackage some more: http://hackage.haskell.org/package/vect

Don Stewart
  • 137,316
  • 36
  • 365
  • 468
1

We have now more complete support for LAPACK's matrix types like triangular, symmetric, Hermitian, banded matrices and according functions in single and double precision in https://hackage.haskell.org/package/lapack

Lemming
  • 577
  • 6
  • 16