Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|Stores one entry of a sparse matrix. More...|
|To be used with Checker for "raw" sparse matrix input. More...|
|Tool for debugging the syntax of a Matrix Market file containing a sparse matrix. More...|
|Read a sparse matrix from a Matrix Market file into raw CSR (compressed sparse row) storage. More...|
|Write a sparse matrix from raw CSR (compressed sparse row) storage to a Matrix Market file. More...|
|template<class Scalar , class Ordinal >|
|std::ostream &||operator<< (std::ostream &out, const Element< Scalar, Ordinal > &elt)|
|Print out an Element to the given output stream. |
|std::ostream& Teuchos::MatrixMarket::Raw::operator<<||(||std::ostream &||out,|
|const Element< Scalar, Ordinal > &||elt|
Print out an Element to the given output stream.
This method is suitable for printing a sparse matrix to a Matrix Market file. We try to print out floating-point values with enough digits to reproduce the results, but in general this routine does not promise that the matrix entry later read in from this printing will be bitwise identical to the matrix entry supplied as input. There _are_ printing algorithms that make this guarantee; we just haven't implemented them yet here.