42 #ifndef MATRIX_WITH_OP_GET_GMS_MUTABLE_H
43 #define MATRIX_WITH_OP_GET_GMS_MUTABLE_H
47 namespace AbstractLinAlgPack {
163 ,gms_view_(mat_get_->get_gms_view())
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.
MatrixOpGetGMSMutable * mat_get_
~MatrixDenseMutableEncap()
Frees the DMatrixSlice view and commits the changes.
virtual const DMatrixSlice get_gms_view() const =0
Get a const view of the abstract matrix in the form DenseLinAlgPack::DMatrixSlice.
MatrixDenseMutableEncap()
T_To & dyn_cast(T_From &from)
virtual void commit_gms_view(DMatrixSlice *gms_view)=0
Commit changes to a view of a dense matrix initialized from this->get_gms_view(). ...
MatrixDenseMutableEncap & operator=(const MatrixDenseMutableEncap &)
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...