25 #ifndef UQ_GSL_BLOCK_MATRIX_H
26 #define UQ_GSL_BLOCK_MATRIX_H
34 #include <queso/Environment.h>
35 #include <queso/Matrix.h>
36 #include <queso/GslVector.h>
37 #include <queso/GslMatrix.h>
38 #include <queso/VectorSpace.h>
73 virtual unsigned int numCols()
const;
79 virtual void zeroLower(
bool includeDiagonal=
false);
82 virtual void zeroUpper(
bool includeDiagonal=
false);
99 virtual void print (std::ostream & os)
const;
112 #endif // UQ_GSL_BLOCK_MATRIX_H
void invertMultiply(const GslVector &b, GslVector &x) const
This function calculates the inverse of this matrix, multiplies it with vector b and stores the resul...
virtual void zeroUpper(bool includeDiagonal=false)
Not implemented yet.
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
Class for representing block matrices using GSL library.
std::vector< VectorSpace< GslVector, GslMatrix > * > m_vectorSpaces
GslMatrix & getBlock(unsigned int i) const
Return block i in the block diagonal matrix.
~GslBlockMatrix()
Destructor.
Class for vector operations using GSL library.
virtual unsigned int numRowsGlobal() const
Not implemented yet.
unsigned int numBlocks() const
Return the number of blocks in the block diagonal matrix.
virtual void zeroLower(bool includeDiagonal=false)
Not implemented yet.
virtual void print(std::ostream &os) const
Print method. Defines the behavior of operator<< inherited from the Object class. ...
virtual unsigned int numRowsLocal() const
Not implemented yet.
GslBlockMatrix(const std::vector< unsigned int > &blockSizes, const GslVector &v, double diagValue)
Creates a square matrix with size defined by v and diagonal values all equal to diagValue.
Class for matrix operations (virtual).
virtual int chol()
Not implemented yet.
std::vector< GslMatrix * > m_blocks
virtual unsigned int numCols() const
Not implemented yet.
Class for matrix operations using GSL library.