9 #ifndef __IPZEROSYMMATRIX_HPP__ 10 #define __IPZEROSYMMATRIX_HPP__ 53 const std::string& name,
55 const std::string& prefix)
const;
100 return MakeNewZeroSymMatrix();
107 return MakeNewZeroSymMatrix();
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Since the matrix is symmetric, it is only necessary to implement the MultVectorImpl method in a class...
Number * x
Input: Starting point Output: Optimal solution.
ZeroSymMatrixSpace(Index dim)
Constructor, given the number of row and columns.
virtual SymMatrix * MakeNewSymMatrix() const
Overloaded method from SymMatrixSpace base class.
virtual void ComputeRowAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the rows in the matrix.
virtual ~ZeroSymMatrixSpace()
Destructor.
~ZeroSymMatrix()
Destructor.
virtual void MultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix-vector multiply.
double Number
Type of all numbers.
EJournalLevel
Print Level Enum.
This is the base class for all derived symmetric matrix types.
virtual void PrintImpl(const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
Print detailed information about the matrix.
ZeroSymMatrix()
Default Constructor.
virtual Matrix * MakeNew() const
Overloaded MakeNew method for the MatrixSpace base class.
virtual void ComputeColAMaxImpl(Vector &cols_norms, bool init) const
Since the matrix is symmetric, the row and column max norms are identical.
int Index
Type of all indices of vectors, matrices etc.
void operator=(const ZeroSymMatrix &)
Overloaded Equals Operator.
SymMatrixSpace base class, corresponding to the SymMatrix base class.
Class responsible for all message output.
ZeroSymMatrix * MakeNewZeroSymMatrix() const
Method for creating a new matrix of this specific type.
Class for matrix space for ZeroSymMatrix.
EJournalCategory
Category Selection Enum.
Class for Symmetric Matrices with only zero entries.