Teuchos - Trilinos Tools Package Version of the Day
Matrix Market file utilities. More...
Matrix Market file utilities.
The Matrix Market (see their web site for details) defines a human-readable ASCII text file format ("Matrix Market format") for interchange of sparse and dense matrices. This namespace defines utility classes for input and output of Matrix Market files or input streams. Users will likely find Raw::Reader most useful; it reads from a Matrix Market file or input stream into raw compressed sparse row (CSR) arrays. Other classes and functions will probably be more useful for Trilinos developers.
Matrix Market files are designed for easy reading and writing of test matrices by both humans and computers. They are not intended for high-performance or parallel file input and output. You should use a true parallel file format if you want to do parallel input and output of sparse or dense matrices.