Skip to main content

mm_decode

Function mm_decode 

Source
pub fn mm_decode(text: &str) -> Result<MatrixMarket, ErrorsJSL>
Expand description

Parses a Matrix Market file (SciPy’s mmread). Symmetric, skew-symmetric and Hermitian matrices are expanded to the full matrix: each stored off-diagonal entry (i, j, v) adds (j, i, v), (j, i, −v) or (j, i, v̄).