9 #ifndef __IPZEROMATRIX_HPP__
10 #define __IPZEROMATRIX_HPP__
53 const std::string& name,
55 const std::string& prefix)
const;
Number * x
Input: Starting point Output: Optimal solution.
Class for matrix space for ZeroMatrix.
void operator=(const ZeroMatrix &)
Overloaded Equals Operator.
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix(transpose) vector multiply.
double Number
Type of all numbers.
virtual void MultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix-vector multiply.
EJournalLevel
Print Level Enum.
Class for Matrices with only zero entries.
ZeroMatrix * MakeNewZeroMatrix() const
Method for creating a new matrix of this specific type.
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.
virtual void ComputeColAMaxImpl(Vector &cols_norms, bool init) const
Compute the max-norm of the columns in the matrix.
virtual void ComputeRowAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the rows in the matrix.
ZeroMatrix()
Default Constructor.
MatrixSpace base class, corresponding to the Matrix base class.
int Index
Type of all indices of vectors, matrices etc.
virtual ~ZeroMatrixSpace()
Destructor.
virtual Matrix * MakeNew() const
Overloaded MakeNew method for the MatrixSpace base class.
void operator=(const ZeroMatrixSpace &)
Overloaded Equals Operator.
Class responsible for all message output.
EJournalCategory
Category Selection Enum.
ZeroMatrixSpace()
Default Constructor.