49 #ifndef XPETRA_MATRIXVIEW_HPP
50 #define XPETRA_MATRIXVIEW_HPP
52 #include <Teuchos_Describable.hpp>
56 #include "Xpetra_Map.hpp"
64 template <
class Scalar,
77 MatrixView(
const RCP<const Map> &rowMap,
const RCP<const Map> &colMap)
117 #define XPETRA_MATRIXVIEW_SHORT
118 #endif //XPETRA_MATRIX_VIEW_DECL_HPP
Scalar GetMaxEigenvalueEstimate() const
Return the maximum eigenvalue estimate for this matrix.
MatrixView(const RCP< const Map > &rowMap, const RCP< const Map > &colMap)
Constructor.
const RCP< const Map > & GetRowMap() const
Returns the Map that describes the row distribution in this matrix.
void SetRowMap(const RCP< const Map > &rowMap)
Returns the Map that describes the row distribution in this matrix.
Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > Map
Scalar maxEigValueEstimate_
virtual ~MatrixView()
Destructor.
const RCP< const Map > & GetColMap() const
Returns the Map that describes the column distribution in this matrix.
void SetColMap(const RCP< const Map > &colMap)
Set the Map that describes the column distribution in this matrix.
void SetMaxEigenvalueEstimate(Scalar const &sigma)
Set an maximum eigenvalue estimate for this matrix.