mathnet-numerics
mathnet-numerics copied to clipboard
Feature request: DIAgonal sparse matrix storage
For multidimensional FDM calculations in C#, we can have more or less banded diagonal matrices.
Initializing those is very handy in Python's scipy; for example see https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.diags.html
Building sparse matrices with diagonal values (and vectors) already seems to be implemented. Is it a lot of trouble to implement a more general diagonal storage?