28 #include <queso/Environment.h> 
   29 #include <queso/Vector.h> 
   74   virtual unsigned int            numCols             () 
const = 0;
 
   79   virtual int                     chol                () = 0;
 
   86   virtual void                    zeroLower           (
bool includeDiagonal = 
false) = 0;
 
   90   virtual void                    zeroUpper           (
bool includeDiagonal = 
false) = 0;
 
   95   virtual void                    print               (std::ostream& os) 
const = 0;
 
  118 #ifdef QUESO_CLASSES_INSTANTIATE_NEW_MAPS 
  143 #endif // UQ_MATRIX_H 
virtual unsigned int numRowsLocal() const =0
Returns the number of rows local of the matrix. 
 
bool getPrintHorizontally() const 
Checks if matrix will be is printed horizontally. 
 
virtual ~Matrix()
Virtual Destructor. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
bool m_printHorizontally
Flag for either or not print this matrix. 
 
virtual void zeroUpper(bool includeDiagonal=false)=0
Sets to zero all the elements above (including or not) the diagonal of the matrix. 
 
void setPrintHorizontally(bool value) const 
Determines whether the matrix should be printed horizontally. 
 
bool m_inDebugMode
Flag for either or not QUESO is in debug mode. 
 
A class for partitioning vectors and matrices. 
 
virtual int chol()=0
Performs Cholesky factorization of the matrix. 
 
const BaseEnvironment & env() const 
 
virtual void zeroLower(bool includeDiagonal=false)=0
Sets to zero all the elements bellow (including or not) the diagonal of the matrix. 
 
const Map & m_map
Mapping variable. 
 
bool getInDebugMode() const 
Checks if QUESO will run through this class in debug mode. 
 
void setInDebugMode(bool value) const 
Determines whether QUESO will run through this class in debug mode. 
 
unsigned int numOfProcsForStorage() const 
 
const BaseEnvironment & m_env
QUESO environment variable. 
 
virtual unsigned int numCols() const =0
Returns the number of columns local of the matrix. 
 
Matrix()
Default constructor. 
 
virtual void print(std::ostream &os) const =0
Print this matrix. 
 
virtual unsigned int numRowsGlobal() const =0
Returns the number of rows global of the matrix. 
 
virtual void base_copy(const Matrix &src)
Copies base data from matrix src to this matrix. 
 
Class for matrix operations (virtual).