Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
Teuchos_MatrixMarket_generic.hpp File Reference
#include "Teuchos_ConfigDefs.hpp"
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <vector>
Include dependency graph for Teuchos_MatrixMarket_generic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Teuchos
 
 Teuchos::MatrixMarket
 

Functions

int Teuchos::MatrixMarket::maxLineLength ()
 Maximum line length for a Matrix Market file. More...
 
bool Teuchos::MatrixMarket::checkCommentLine (const std::string &line, size_t &start, size_t &size, const size_t lineNumber, const bool tolerant, const bool maybeBannerLine=false)
 True if the line is a comment line, false otherwise. More...
 
template<class Ordinal >
bool Teuchos::MatrixMarket::readPatternData (std::istream &istr, Ordinal &rowIndex, Ordinal &colIndex, const size_t lineNumber, const bool tolerant)
 
template<class Ordinal , class Real >
bool Teuchos::MatrixMarket::readRealData (std::istream &istr, Ordinal &rowIndex, Ordinal &colIndex, Real &realValue, const size_t lineNumber, const bool tolerant)
 
template<class Ordinal >
bool Teuchos::MatrixMarket::readPatternLine (const std::string &line, Ordinal &rowIndex, Ordinal &colIndex, const size_t lineNumber, const bool tolerant)
 
template<class Ordinal , class Real >
bool Teuchos::MatrixMarket::readRealLine (const std::string &line, Ordinal &rowIndex, Ordinal &colIndex, Real &realValue, const size_t lineNumber, const bool tolerant)
 
template<class Ordinal , class PatternCallback >
std::pair< bool, std::vector
< size_t > > 
Teuchos::MatrixMarket::readPatternCoordinateData (std::istream &in, PatternCallback add, const size_t startingLineNumber, const bool tolerant)
 
template<class Ordinal >
bool Teuchos::MatrixMarket::readCoordinateDimensions (std::istream &in, Ordinal &numRows, Ordinal &numCols, Ordinal &numNonzeros, size_t &lineNumber, const bool tolerant)