chessai / eigen

Haskell bindings to the Eigen C++ library
Other
16 stars 6 forks source link

[Ported Issue] Why define IOSparseMatrix instead of MSparseMatrix? #2

Open chessai opened 6 years ago

chessai commented 6 years ago

opened by: @taktoa

Why is it that Data.Eigen.SparseMatrix.Mutable defines IOSparseMatrix a b instead of a MSparseMatrix a b s that can be used in the ST monad? Are the sparse matrix operations exported by Eigen not pure?

chessai commented 5 years ago

Reformatted to reflect new API:

Why is it that Eigen.SparseMatrix.Mutable defines IOSparseMatrix a instead of a MSparseMatrix s a that can be used in the ST monad? Are the sparse matrix operations exported by Eigen not pure?