sparsemat / sprs

sparse linear algebra library for rust
Apache License 2.0
411 stars 47 forks source link

Add support for pattern type #318

Closed shenjiangqiu closed 2 years ago

shenjiangqiu commented 2 years 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?