42 #ifndef MATRIX_WITH_OP_GET_GMS_MUTABLE_H
43 #define MATRIX_WITH_OP_GET_GMS_MUTABLE_H
45 #include "AbstractLinAlgPack_MatrixOpGetGMS.hpp"
47 namespace AbstractLinAlgPack {
163 ,gms_view_(mat_get_->get_gms_view())
167 MatrixDenseMutableEncap::MatrixDenseMutableEncap(
MatrixOp* mat )
169 ,gms_view_(mat_get_->get_gms_view())
192 #endif // MATRIX_WITH_OP_GET_GMS_MUTABLE_H
virtual DMatrixSlice get_gms_view()=0
Get a representation of the abstract matrixr in the form DenseLinAlgPack::DMatrixSlice.
~MatrixDenseMutableEncap()
Frees the DMatrixSlice view and commits the changes.
T_To & dyn_cast(T_From &from)
virtual const DMatrixSlice get_gms_view() const =0
Get a const view of the abstract matrix in the form DenseLinAlgPack::DMatrixSlice.
virtual void commit_gms_view(DMatrixSlice *gms_view)=0
Commit changes to a view of a dense matrix initialized from this->get_gms_view(). ...
Abstract interface that allows the extraction of a const DMatrixSlice view of an abstract matrix...
Base class for all matrices that support basic matrix operations.
Abstract interface that allows the extraction of a non-const DMatrixSlice view of an abstract matrix...
DMatrixSlice operator()()
Returns a non-const view of the DMatrixSlice view.
Helper class type that simplifies the usage of the MatrixOpGetGMSMutable interface for clients...