sparsemat / sprs

sparse linear algebra library for rust
Apache License 2.0
381 stars 45 forks source link

Add support for pattern type #318

Closed shenjiangqiu closed 1 year ago

shenjiangqiu commented 1 year ago

according to https://math.nist.gov/MatrixMarket/formats.html#MMformat, there are three data types supported by the MTX file: num, complex, and pattern. Implementing a pattern type is quite easy under the current code. I did some job for that, is that seem good?