Tpetra Matrix/Vector Services Version of the Day

Parse a Matrix Market banner line. More...
#include <MatrixMarket_Banner.hpp>
Public Member Functions  
Banner (const std::string &line, const bool tolerant=false)  
const std::string &  objectType () const 
The object type (currently just "matrix")  
const std::string &  matrixType () const 
Storage type of the matrix.  
const std::string &  dataType () const 
Data type of matrix entries.  
const std::string &  symmType () const 
Symmetric storage type. 
Parse a Matrix Market banner line.
Definition at line 60 of file MatrixMarket_Banner.hpp.
Tpetra::MatrixMarket::Banner::Banner  (  const std::string &  line, 
const bool  tolerant = false 

) 
Constructor
line  [in] The banner line to parse 
tolerant  [in] Whether to parse tolerantly. If false, we adhere strictly to the Matrix Market standard. If true, we allow all kinds of divergence therefrom (including an entirely empty banner line, for which we fill in some sensible defaults). 
Definition at line 152 of file MatrixMarket_Banner.cpp.
const std::string& Tpetra::MatrixMarket::Banner::objectType  (  )  const [inline] 
The object type (currently just "matrix")
Definition at line 73 of file MatrixMarket_Banner.hpp.
const std::string& Tpetra::MatrixMarket::Banner::matrixType  (  )  const [inline] 
Storage type of the matrix.
"coordinate" means a sparse matrix, stored as (i,j,Aij) triples with onebased indices i and j. "array" means a dense matrix, stored in columnmajor order with one entry per line.
Definition at line 80 of file MatrixMarket_Banner.hpp.
const std::string& Tpetra::MatrixMarket::Banner::dataType  (  )  const [inline] 
Data type of matrix entries.
Data type of the matrix entries: "real", "complex", "integer", or "pattern".
Definition at line 86 of file MatrixMarket_Banner.hpp.
const std::string& Tpetra::MatrixMarket::Banner::symmType  (  )  const [inline] 
Symmetric storage type.
Describes whether and how symmetry is exploited when storing the matrix. "general" means nonsymmetric: all the matrix entries are stored. "symmetric", "skewsymmetric", and "hermitian" have their usual mathematical meaning, and also mean that only the upper or lower triangle (including the diagonal) of the matrix is stored. There's no way to tell from the banner whether the upper or lower triangle is stored; you have to examine the matrix entries.
Definition at line 105 of file MatrixMarket_Banner.hpp.