andreaferretti / linear-algebra

Linear algebra for Nim
http://andreaferretti.github.io/linear-algebra/
Apache License 2.0
140 stars 13 forks source link

Suggestion: Support for sparse matrix #12

Open mratsim opened 7 years ago

mratsim commented 7 years ago

Hello Andrea, Great work on this library.

For large sparse datasets and for machine learning having sparse matrix support would be great to minimize memory usage.

It might be better to have that in a completely different library, in that case feel free to close the ticket.

andreaferretti commented 7 years ago

I think this would be a great addition, but as you can see from the TODO, there are many other things that would be nice... :-)

If you are willing to contribute, though, I think it would make much sense to have sparse analogues of the core types, with sparse BLAS operations and functions to convert them to dense ones when needed