9 #ifndef __IPZEROMATRIX_HPP__ 10 #define __IPZEROMATRIX_HPP__ 53 const std::string& name,
55 const std::string& prefix)
const;
100 return MakeNewZeroMatrix();
virtual void ComputeRowAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the rows in the matrix.
Number * x
Input: Starting point Output: Optimal solution.
virtual void ComputeColAMaxImpl(Vector &cols_norms, bool init) const
Compute the max-norm of the columns in the matrix.
Class for matrix space for ZeroMatrix.
void operator=(const ZeroMatrix &)
Overloaded Equals Operator.
double Number
Type of all numbers.
EJournalLevel
Print Level Enum.
Class for Matrices with only zero entries.
ZeroMatrixSpace(Index nrows, Index ncols)
Constructor, given the number of row and columns.
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.
int Index
Type of all indices of vectors, matrices etc.
virtual ~ZeroMatrixSpace()
Destructor.
Class responsible for all message output.
virtual Matrix * MakeNew() const
Overloaded MakeNew method for the MatrixSpace base class.
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.