mathnet-numerics icon indicating copy to clipboard operation
mathnet-numerics copied to clipboard

Feature request: DIAgonal sparse matrix storage

Open dbischof90 opened this issue 3 years ago • 0 comments

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?

dbischof90 avatar Jan 26 '23 10:01 dbischof90