7#ifndef __IPTRANSPOSEMATRIX_HPP__
8#define __IPTRANSPOSEMATRIX_HPP__
16class TransposeMatrixSpace;
92 const std::string&
name,
Templated class which stores one entry for the CachedResult class.
Class responsible for all message output.
MatrixSpace base class, corresponding to the Matrix base class.
Index NCols() const
Accessor function for the number of columns.
Index NRows() const
Accessor function for the number of rows.
This is the matrix space for TransposeMatrix.
TransposeMatrix * MakeNewTransposeMatrix() const
Method for creating a new matrix of this specific type.
virtual Matrix * MakeNew() const
Pure virtual method for creating a new Matrix of the corresponding type.
SmartPtr< const MatrixSpace > orig_matrix_space_
Matrix space of the original matrix.
TransposeMatrixSpace(const MatrixSpace *orig_matrix_space)
Constructor, given the dimension of the matrix.
Matrix * MakeNewOrigMatrix() const
virtual ~TransposeMatrixSpace()
Destructor.
TransposeMatrixSpace()
Default Constructor.
TransposeMatrixSpace(const TransposeMatrixSpace &)
Copy Constructor.
void operator=(const TransposeMatrixSpace &)
Default Assignment Operator.
Class for Matrices which are the transpose of another matrix.
virtual void ComputeColAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the columns in the matrix.
void operator=(const TransposeMatrix &)
Default Assignment Operator.
virtual bool HasValidNumbersImpl() const
Method for determining if all stored numbers are valid (i.e., no Inf or Nan).
~TransposeMatrix()
Destructor.
virtual void ComputeRowAMaxImpl(Vector &rows_norms, bool init) const
Compute the max-norm of the rows in the matrix.
TransposeMatrix(const TransposeMatrixSpace *owner_space)
Constructor, initializing with dimensions of 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.
TransposeMatrix(const TransposeMatrix &)
Copy Constructor.
SmartPtr< Matrix > orig_matrix_
Pointer to original matrix.
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix(transpose) vector multiply.
TransposeMatrix()
Default Constructor.
SmartPtr< const Matrix > OrigMatrix() const
virtual void MultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Matrix-vector multiply.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
SmartPtr< const U > ConstPtr(const SmartPtr< U > &smart_ptr)
bool IsValid(const SmartPtr< U > &smart_ptr)
ipindex Index
Type of all indices of vectors, matrices etc.
EJournalCategory
Category Selection Enum.
EJournalLevel
Print Level Enum.
ipnumber Number
Type of all numbers.