7 #ifndef __IPEXPANSIONMATRIX_HPP__ 8 #define __IPEXPANSIONMATRIX_HPP__ 17 class ExpansionMatrixSpace;
50 const Index* ExpandedPosIndices()
const;
61 const Index* CompressedPosIndices()
const;
65 virtual void MultVectorImpl(
73 virtual void TransMultVectorImpl(
80 virtual void AddMSinvZImpl(
87 virtual void SinvBlrmZMTdBrImpl(
96 virtual void ComputeRowAMaxImpl(
101 virtual void ComputeColAMaxImpl(
110 const std::string& name,
112 const std::string& prefix
115 PrintImplOffset(jnlst, level, category, name, indent, prefix, 1, 1);
119 void PrintImplOffset(
123 const std::string& name,
125 const std::string& prefix,
130 friend class ParExpansionMatrix;
185 delete[] compressed_pos_;
186 delete[] expanded_pos_;
198 return MakeNewExpansionMatrix();
211 return expanded_pos_;
225 return compressed_pos_;
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.
double Number
Type of all numbers.
ExpansionMatrix * MakeNewExpansionMatrix() const
Method for creating a new matrix of this specific type.
EJournalLevel
Print Level Enum.
virtual Matrix * MakeNew() const
Pure virtual method for creating a new Matrix of the corresponding type.
~ExpansionMatrixSpace()
Destructor.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
const Index * CompressedPosIndices() const
Return the vector of indices marking the compressed position.
const Index * ExpandedPosIndices() const
Accessor Method to obtain the Index array (of length NSmallVec=NCols()) that stores the mapping from ...
MatrixSpace base class, corresponding to the Matrix base class.
This is the matrix space for ExpansionMatrix.
int Index
Type of all indices of vectors, matrices etc.
Class for expansion/projection matrices.
Class responsible for all message output.
const Index * ExpandedPosIndices() const
Return the vector of indices marking the expanded position.
const Index * CompressedPosIndices() const
Accessor Method to obtain the Index array (of length NLargeVec=NRows()) that stores the mapping from ...
const ExpansionMatrixSpace * owner_space_
EJournalCategory
Category Selection Enum.