Skip to main content

mm_encode

Function mm_encode 

Source
pub fn mm_encode(m: &MatrixMarket) -> Result<String, ErrorsJSL>
Expand description

Writes a Matrix Market file (SciPy’s mmwrite): the coordinate or array format as declared, with only the lower triangle for a symmetric matrix (the strictly lower one for a skew-symmetric one). Values are written in the shortest form that reads back exactly.