Go to the documentation of this file.
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();
This is the matrix space for DiagMatrix.
void SetDiag(const Vector &diag)
Set the diagonal elements (as a Vector).
SmartPtr< const Vector > diag_
Vector storing the diagonal elements.
virtual ~DiagMatrixSpace()
Destructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
double Number
Type of all numbers.
virtual SymMatrix * MakeNewSymMatrix() const
Pure virtual method for creating a new matrix of this specific type.
EJournalLevel
Print Level Enum.
int Index
Type of all indices of vectors, matrices etc.
SmartPtr< const Vector > GetDiag() const
Get the diagonal elements.
Template class for Smart Pointers.
EJournalCategory
Category Selection Enum.
DiagMatrix * MakeNewDiagMatrix() const
Method for creating a new matrix of this specific type.
Class for diagonal matrices.
Class responsible for all message output.
This is the base class for all derived symmetric matrix types.
SymMatrixSpace base class, corresponding to the SymMatrix base class.
DiagMatrixSpace(Index dim)
Constructor, given the dimension of the matrix.