Function sprs::io::read_matrix_market_from_bufread
source · pub fn read_matrix_market_from_bufread<N, I, R>(
reader: &mut R
) -> Result<TriMatI<N, I>, IoError>where
I: SpIndex,
N: PrimitiveKind + Clone + Neg<Output = N> + MatrixMarketRead + MatrixMarketConjugate,
R: BufRead + ?Sized,
Expand description
Read a sparse matrix in the Matrix Market format from an io::BufRead
and return a
corresponding triplet matrix.
Presently, only general matrices are supported, but symmetric and hermitian matrices should be supported in the future.