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"
50 namespace AbstractLinAlgPack {
160 ,tri_gms_view_(mat_get_.get_tri_gms_view())
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
Mix-in interface that allows the extraction of a const DenseLinAlgPack::DMatrixSliceTri view of an no...
T_To & dyn_cast(T_From &from)
Helper class type that simplifies the usage of the MatrixOpGetGMSTri interface for clients...
Base class for all matrices that support basic matrix operations.
virtual const DenseLinAlgPack::DMatrixSliceTri get_tri_gms_view() const =0
Get a const view of the symmetric abstract matrix in the form DenseLinAlgPack::DMatrixSliceTri.
const DenseLinAlgPack::DMatrixSliceTri operator()() const
Returns a constant view of the DenseLinAlgPack::DMatrixSliceTri view.
~MatrixDenseTriEncap()
Frees the DenseLinAlgPack::DMatrixSliceTri view.
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>. ...