42 #ifndef MATRIX_SYM_WITH_OP_GET_GMS_SYM_H 43 #define MATRIX_SYM_WITH_OP_GET_GMS_SYM_H 45 #include "AbstractLinAlgPack_Types.hpp" 46 #include "AbstractLinAlgPack_MatrixSymOp.hpp" 47 #include "DenseLinAlgPack_DMatrixAsTriSym.hpp" 48 #include "Teuchos_dyn_cast.hpp" 164 MatrixDenseSymEncap::MatrixDenseSymEncap(
const MatrixSymOp& mat )
166 ,sym_gms_view_(mat_get_.get_sym_gms_view())
178 return sym_gms_view_;
183 #endif // MATRIX_SYM_WITH_OP_GET_GMS_SYM_H virtual MatrixSymOp & operator=(const MatrixSymOp &M)
Calls operator=(MatrixOp&)
~MatrixDenseSymEncap()
Frees the DenseLinAlgPack::DMatrixSliceSym view.
Interface adding operations specific for a symmetric matrix {abstract}.
virtual void free_sym_gms_view(const DenseLinAlgPack::DMatrixSliceSym *sym_gms_view) const =0
Free a view of a symmetric dense matrix initialized from get_sym_gms_view()>/tt>. ...
const DenseLinAlgPack::DMatrixSliceSym operator()() const
Returns a constant view of the DenseLinAlgPack::DMatrixSliceSym view.
Abstract interface that allows the extraction of a const DenseLinAlgPack::DMatrixSliceSym view of an ...
Helper class type that simplifies the usage of the MatrixSymOpGetGMSSym interface for clients...
virtual const DenseLinAlgPack::DMatrixSliceSym get_sym_gms_view() const =0
Get a const view of the symmetric abstract matrix in the form DenseLinAlgPack::DMatrixSliceSym.