7 #ifndef __IPDIAGMATRIX_HPP__ 8 #define __IPDIAGMATRIX_HPP__ 51 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();
DiagMatrix * MakeNewDiagMatrix() const
Method for creating a new matrix of this specific type.
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 file contains a base class for all exceptions and a set of macros to help with exceptions...
This is the base class for all derived symmetric matrix types.
Template class for Smart Pointers.
virtual SymMatrix * MakeNewSymMatrix() const
Pure virtual method for creating a new matrix of this specific type.
SmartPtr< const Vector > GetDiag() const
Get the diagonal elements.
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.
This is the matrix space for DiagMatrix.
EJournalCategory
Category Selection Enum.