sinshu / numflat

A numerical computation library for C#
MIT License
22 stars 3 forks source link

Feature Request: Support for Sparse Vectors and Matrices #24

Open arthurvb opened 4 months ago

arthurvb commented 4 months ago

First of all, thank you for putting time and effort in this project, and maybe this feature request is not at all the way you want to go with this project.

But as I'm planning to transition my projects from Math.NET Numerics to numflat, I realized that having basic support for sparse data structures could be beneficial. While full algorithm support might not be necessary initially, even basic operations would be a valuable addition.

sinshu commented 4 months ago

Thanks for the kind comment 😊

As for sparse data structures, I know there is a demand for them, but I don't have experience implementing them, so it's difficult to add them to the library...

arthurvb commented 4 months ago

Haha, the library also really looks nice! I do have a bit of experience with sparse datastructures, but I am afraid this is too big a feature for me to take on. I really hope that somehow Microsoft will integrate the basic operations via Tensors ( https://github.com/dotnet/runtime/labels/area-System.Numerics.Tensors , https://github.com/dotnet/runtime/issues/98323 ), so that the algorithms you integrated here could somehow build upon that.