Skip to content

mtx

Planned, wave 2: Matrix Market files.

Status: planned (wave 2). No code exists. The package name is provisional. go-sparse’s wave 1 (item 2 of the plan) also lists Matrix Market I/O, so the division between that work and this package is yet to be drawn.

What it will provide

Matrix Market files in coordinate and array form, with real, complex, integer and pattern fields and general, symmetric, skew-symmetric and Hermitian symmetry.

References

SubjectReference
the formatNIST, The Matrix Market formats

How it will be validated

AreaCriterion
round tripGo writes and scipy.io.mmread reads, and the other way round, with identical matrices
hostile inputgo test -fuzz for panics; a limit on the allocation a hostile header can ask for

scipy.io (mmread, mmwrite) is the oracle. Corpus: the Matrix Market and SuiteSparse collections. Every item also needs unit tests at 100% coverage and a performance table against the reference.

Created on by tannevaled

Modified on by tannevaled