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
virtual unsigned int numCols() const
Not implemented yet.
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 unsigned int numRowsGlobal() const
Not implemented yet.
virtual unsigned int numRowsLocal() const
Not implemented yet.
std::ostream & operator<<(std::ostream &os, const SequenceStatisticalOptions &obj)
virtual void print(std::ostream &os) const
Print method. Defines the behavior of operator<< inherited from the Object class. ...
std::vector< VectorSpace< GslVector, GslMatrix > * > m_vectorSpaces
Class for matrix operations using GSL library.
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.
virtual void zeroLower(bool includeDiagonal=false)
Not implemented yet.
unsigned int numBlocks() const
Return the number of blocks in the block diagonal matrix.
Class for matrix operations (virtual).
~GslBlockMatrix()
Destructor.
Class for representing block matrices using GSL library.
GslMatrix & getBlock(unsigned int i) const
Return block i in the block diagonal matrix.
Class for vector operations using GSL library.
std::vector< GslMatrix * > m_blocks
virtual int chol()
Not implemented yet.
virtual void zeroUpper(bool includeDiagonal=false)
Not implemented yet.