Function sprs::io::read_matrix_market
source · pub fn read_matrix_market<N, I, P>(mm_file: P) -> Result<TriMatI<N, I>, IoError>where
I: SpIndex,
N: PrimitiveKind + Clone + MatrixMarketRead + MatrixMarketConjugate + Neg<Output = N>,
P: AsRef<Path>,
Expand description
Read a sparse matrix file in the Matrix Market format and return a corresponding triplet matrix.
Presently, only general matrices are supported, but symmetric and hermitian matrices should be supported in the future.