SciRuby / ruby-sparse

Ruby Library for Sparse Tensors
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Add support for CSR, CSC and DIA #7

Open Uditgulati opened 4 years ago

Uditgulati commented 3 years ago

Add support for multidimensional sparse matrices.

COO is easier as it can be directly extended to multi-dimensional matrices keeping the logic same as that of 2-dimensional matrices.

For CSR/CSC, GCXS matrix needs to be implemented which is generalized CSR and CSC. More info: https://ieeexplore.ieee.org/document/7237032.