33 #ifndef ACADO_TOOLKIT_BLOCK_MATRIX_HPP 34 #define ACADO_TOOLKIT_BLOCK_MATRIX_HPP 215 std::vector< std::vector< SubBlockMatrixType > >
types;
223 #include <acado/matrix_vector/block_matrix.ipp> 225 #endif // ACADO_TOOLKIT_BLOCK_MATRIX_HPP Implements a very rudimentary block sparse matrix class.
BlockMatrix operator+(const BlockMatrix &arg) const
returnValue setDense(uint rowIdx, uint colIdx, const DMatrix &value)
Allows to pass back messages to the calling function.
static const BlockMatrix emptyConstBlockMatrix
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
static BlockMatrix emptyBlockMatrix
std::vector< std::vector< SubBlockMatrixType > > types
BlockMatrix operator-(const BlockMatrix &arg) const
BlockMatrix getPositive() const
returnValue init(uint _nRows, uint _nCols)
BlockMatrix & operator+=(const BlockMatrix &arg)
BlockMatrix operator*(const BlockMatrix &arg) const
returnValue getSubBlock(uint rowIdx, uint colIdx, DMatrix &value) const
BlockMatrix getNegative() const
BlockMatrix transpose() const
BlockMatrix operator^(const BlockMatrix &arg) const
BlockMatrix getAbsolute() const
returnValue print(std::ostream &stream=std::cout) const
BlockMatrix operator*=(double scalar)
#define BEGIN_NAMESPACE_ACADO
returnValue addRegularisation(uint rowIdx, uint colIdx, double eps)
returnValue setIdentity(uint rowIdx, uint colIdx, uint dim)
returnValue addDense(uint rowIdx, uint colIdx, const DMatrix &value)
std::vector< std::vector< DMatrix > > elements