Daniel-Diaz / matrix

A Haskell native implementation of matrices and their operations.
BSD 3-Clause "New" or "Revised" License
35 stars 31 forks source link

Missing: inverse function #24

Closed kavigupta closed 8 years ago

kavigupta commented 8 years ago

I was trying to use this library for some simple computations, but there is no matrix inverse function.

This seems like a pretty basic function to have in a Matrix library.

I would like to use a pure Haskell solution to avoid having to install C++ libraries, but this missing feature makes Matrix basically unusable for me.

Daniel-Diaz commented 8 years ago

It's true, an inverse function is basic and required. I'll try to write one as soon as possible. Contributions are welcome too! :)

kavigupta commented 8 years ago

I'm willing to contribute this to the repository.

octopuscabbage commented 8 years ago

I'd be willing to work on this if someone gave me a good reference implementation to work from as I slept through a lot of linear algebra.

kavigupta commented 8 years ago

I submitted a patch a few weeks ago. It probably wasn't beautiful code, but it got the job done. If you would like to clean it up and resubmit, I'll forward it to you

kavigupta commented 8 years ago

Since my pull request was merged, I'm going to close this issue.

Daniel-Diaz commented 8 years ago

Thanks!