[][src]Function sprs::io::read_matrix_market_from_bufread

pub fn read_matrix_market_from_bufread<N, I, R>(
    reader: &mut R
) -> Result<TriMatI<N, I>, IoError> where
    I: SpIndex,
    N: NumCast + Clone,
    R: BufRead

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.