#include <IpSumSymMatrix.hpp>
Public Member Functions | |
void | SetTermSpace (Index term_idx, const SymMatrixSpace &space) |
Use this method to set the matrix spaces for the various terms. | |
SmartPtr< const SymMatrixSpace > | GetTermSpace (Index term_idx) const |
Get the matix space for a particular term. | |
SumSymMatrix * | MakeNewSumSymMatrix () const |
Method for creating a new matrix of this specific type. | |
virtual SymMatrix * | MakeNewSymMatrix () const |
Overloaded MakeNew method for the SymMatrixSpace base class. | |
Constructors / Destructors | |
SumSymMatrixSpace (Index ndim, Index nterms) | |
Constructor, given the dimension of the matrix and the number of terms in the sum. | |
~SumSymMatrixSpace () | |
Destructor. | |
Accessor functions | |
Index | NTerms () const |
Number of terms in the sum. |
SumSymMatrixSpace | ( | Index | ndim, | |
Index | nterms | |||
) | [inline] |
Constructor, given the dimension of the matrix and the number of terms in the sum.
~SumSymMatrixSpace | ( | ) | [inline] |
Destructor.
Index NTerms | ( | ) | const [inline] |
void SetTermSpace | ( | Index | term_idx, | |
const SymMatrixSpace & | space | |||
) |
Use this method to set the matrix spaces for the various terms.
You will not be able to create a matrix until all these spaces are set.
SmartPtr< const SymMatrixSpace > GetTermSpace | ( | Index | term_idx | ) | const |
Get the matix space for a particular term.
SumSymMatrix * MakeNewSumSymMatrix | ( | ) | const |
Method for creating a new matrix of this specific type.
References DBG_ASSERT.
Referenced by SumSymMatrixSpace::MakeNewSymMatrix().
SymMatrix * MakeNewSymMatrix | ( | ) | const [virtual] |
Overloaded MakeNew method for the SymMatrixSpace base class.
Implements SymMatrixSpace.
References SumSymMatrixSpace::MakeNewSumSymMatrix().