haskell-numerics / hmatrix

Linear algebra and numerical computation
378 stars 105 forks source link

Adding bindings to FFLAS / FFPACK? #277

Open wchresta opened 6 years ago

wchresta commented 6 years ago

hmatrix is the Haskell de-facto standard for matrix operations over real and complex numbers in Haskell. Some applications are requiring matrices over arbitrary fields; specifically over finite fields (Galois fields). Similar to BLAS/LAPACK there is a C-library for finite field matrix operations called FFLAS/FFPACK.

There are 3 options for Haskell bindings for FFLAS/FFPACK:

From the point of view of hMatrix; what would make the most sense?

wchresta commented 6 years ago

I see hmatrix already allows arbitrary Galois fields. How does speed compare to FFLAS/FFPACK?

Also, the tutorial mentions the 'Poly' type without specifying where it is from. What is it exactly?