42 #ifndef MATRIX_WITH_OP_GET_GMS_TRI_H 43 #define MATRIX_WITH_OP_GET_GMS_TRI_H 45 #include "AbstractLinAlgPack_Types.hpp" 46 #include "AbstractLinAlgPack_MatrixOp.hpp" 47 #include "DenseLinAlgPack_DMatrixAsTriSym.hpp" 48 #include "Teuchos_dyn_cast.hpp" 164 MatrixDenseTriEncap::MatrixDenseTriEncap(
const MatrixOp& mat )
166 ,tri_gms_view_(mat_get_.get_tri_gms_view())
178 return tri_gms_view_;
183 #endif // MATRIX_WITH_OP_GET_GMS_TRI_H virtual void free_tri_gms_view(const DenseLinAlgPack::DMatrixSliceTri *tri_gms_view) const =0
Free a view of a symmetric dense matrix initialized from get_tri_gms_view()>/tt>. ...
Mix-in interface that allows the extraction of a const DenseLinAlgPack::DMatrixSliceTri view of an no...
virtual MatrixOp & operator=(const MatrixOp &mwo_rhs)
M_lhs = mwo_rhs : Virtual assignment operator.
virtual const DenseLinAlgPack::DMatrixSliceTri get_tri_gms_view() const =0
Get a const view of the symmetric abstract matrix in the form DenseLinAlgPack::DMatrixSliceTri.
Helper class type that simplifies the usage of the MatrixOpGetGMSTri interface for clients...
Base class for all matrices that support basic matrix operations.
const DenseLinAlgPack::DMatrixSliceTri operator()() const
Returns a constant view of the DenseLinAlgPack::DMatrixSliceTri view.
~MatrixDenseTriEncap()
Frees the DenseLinAlgPack::DMatrixSliceTri view.