7 #ifndef __IPZEROMATRIX_HPP__ 8 #define __IPZEROMATRIX_HPP__ 65 const std::string& name,
67 const std::string& prefix
Class for matrix space for ZeroMatrix.
void operator=(const ZeroMatrix &)
Default Assignment Operator.
virtual void ComputeColAMaxImpl(Vector &, bool) const
Compute the max-norm of the columns in the matrix.
EJournalLevel
Print Level Enum.
ipindex Index
Type of all indices of vectors, matrices etc.
Class for Matrices with only zero entries.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
ZeroMatrixSpace(Index nrows, Index ncols)
Constructor, given the number of row and columns.
virtual void ComputeRowAMaxImpl(Vector &, bool) const
Compute the max-norm of the rows in the matrix.
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.
ZeroMatrix()
Default Constructor.
MatrixSpace base class, corresponding to the Matrix base class.
ZeroMatrix * MakeNewZeroMatrix() const
Method for creating a new matrix of this specific type.
ipnumber Number
Type of all numbers.
virtual ~ZeroMatrixSpace()
Destructor.
void operator=(const ZeroMatrixSpace &)
Default Assignment Operator.
Class responsible for all message output.
virtual Matrix * MakeNew() const
Pure virtual method for creating a new Matrix of the corresponding type.
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix(transpose) vector multiply.
EJournalCategory
Category Selection Enum.
virtual void MultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix-vector multiply.
ZeroMatrixSpace()
Default Constructor.