7 #ifndef __IPDIAGMATRIX_HPP__
8 #define __IPDIAGMATRIX_HPP__
52 virtual void MultVectorImpl(
59 virtual bool HasValidNumbersImpl()
const;
61 virtual void ComputeRowAMaxImpl(
66 virtual void PrintImpl(
70 const std::string& name,
72 const std::string& prefix
123 return MakeNewDiagMatrix();
SmartPtr< const Vector > GetDiag() const
Get the diagonal elements.
Class for diagonal matrices.
double Number
Type of all numbers.
void SetDiag(const Vector &diag)
Set the diagonal elements (as a Vector).
EJournalLevel
Print Level Enum.
virtual ~DiagMatrixSpace()
Destructor.
This is the base class for all derived symmetric matrix types.
Template class for Smart Pointers.
int Index
Type of all indices of vectors, matrices etc.
SymMatrixSpace base class, corresponding to the SymMatrix base class.
SmartPtr< const Vector > diag_
Vector storing the diagonal elements.
Class responsible for all message output.
DiagMatrixSpace(Index dim)
Constructor, given the dimension of the matrix.
DiagMatrix * MakeNewDiagMatrix() const
Method for creating a new matrix of this specific type.
virtual SymMatrix * MakeNewSymMatrix() const
Pure virtual method for creating a new matrix of this specific type.
This is the matrix space for DiagMatrix.
EJournalCategory
Category Selection Enum.