Go to the documentation of this file.
9 #ifndef __IPTRANSPOSEMATRIX_HPP__
10 #define __IPTRANSPOSEMATRIX_HPP__
18 class TransposeMatrixSpace;
84 const std::string& name,
86 const std::string& prefix)
const;
MatrixSpace base class, corresponding to the Matrix base class.
virtual ~TransposeMatrixSpace()
Destructor.
virtual Matrix * MakeNew() const
Overloaded MakeNew method for the MatrixSpace base class.
virtual void ComputeColAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the columns in the matrix.
TransposeMatrix * MakeNewTransposeMatrix() const
Method for creating a new matrix of this specific type.
SmartPtr< Matrix > orig_matrix_
Pointer to original matrix.
double Number
Type of all numbers.
TransposeMatrix()
Default Constructor.
SmartPtr< const MatrixSpace > orig_matrix_space_
Matrix space of the original matrix.
EJournalLevel
Print Level Enum.
virtual bool HasValidNumbersImpl() const
Method for determining if all stored numbers are valid (i.e., no Inf or Nan).
Number * x
Input: Starting point Output: Optimal solution.
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix(transpose) vector multiply.
int Index
Type of all indices of vectors, matrices etc.
Template class for Smart Pointers.
EJournalCategory
Category Selection Enum.
Index NCols() const
Accessor function for the number of columns.
TransposeMatrixSpace()
Default Constructor.
void operator=(const TransposeMatrix &)
Overloaded Equals Operator.
This is the matrix space for TransposeMatrix.
Matrix * MakeNewOrigMatrix() const
SmartPtr< const U > ConstPtr(const SmartPtr< U > &smart_ptr)
Class responsible for all message output.
~TransposeMatrix()
Destructor.
bool IsValid(const SmartPtr< U > &smart_ptr)
Class for Matrices which are the transpose of another matrix.
virtual void ComputeRowAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the rows in the matrix.
Index NRows() const
Accessor function for the number of rows.
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.
void operator=(const TransposeMatrixSpace &)
Overloaded Equals Operator.
TransposeMatrixSpace(const MatrixSpace *orig_matrix_space)
Constructor, given the dimension of the matrix.
virtual void MultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix-vector multiply.
SmartPtr< const Matrix > OrigMatrix() const