Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
Teuchos::MatrixMarket::Raw Namespace Reference

Classes

class  Element
 Stores one entry of a sparse matrix. More...
 
class  Adder
 To be used with Checker for "raw" sparse matrix input. More...
 
class  Checker
 Tool for debugging the syntax of a Matrix Market file containing a sparse matrix. More...
 
class  GraphElement
 Stores one entry of a sparse graph. More...
 
class  GraphAdder
 To be used with Checker for "raw" sparse matrix input. More...
 
class  Reader
 Read a sparse matrix from a Matrix Market file into raw CSR (compressed sparse row) storage. More...
 
class  Writer
 Write a sparse matrix from raw CSR (compressed sparse row) storage to a Matrix Market file. More...
 

Functions

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. More...
 
template<class Ordinal >
std::ostream & operator<< (std::ostream &out, const GraphElement< Ordinal > &elt)
 Print out a GraphElement to the given output stream. More...
 

Function Documentation

template<class Scalar , class Ordinal >
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.

Definition at line 158 of file Teuchos_MatrixMarket_Raw_Adder.hpp.

template<class Ordinal >
std::ostream& Teuchos::MatrixMarket::Raw::operator<< ( std::ostream &  out,
const GraphElement< Ordinal > &  elt 
)

Print out a GraphElement to the given output stream.

This method is suitable for printing a sparse graph to a Matrix Market file.

Definition at line 103 of file Teuchos_MatrixMarket_Raw_Graph_Adder.hpp.