MatrixSymOpGetGMSSym interface for clients.
More...
#include <AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp>
Public Member Functions | |
| MatrixDenseSymEncap (const MatrixSymOpGetGMSSym &mat_get) | |
Construct a DenseLinAlgPack::DMatrixSliceSym view from a MatrixSymOpGetGMSSym object. | |
| MatrixDenseSymEncap (const MatrixSymOp &mat) | |
Construct a DenseLinAlgPack::DMatrixSliceSym view from a MatrixSymOp object. | |
| ~MatrixDenseSymEncap () | |
Frees the DenseLinAlgPack::DMatrixSliceSym view. | |
| const DenseLinAlgPack::DMatrixSliceSym | operator() () const |
Returns a constant view of the DenseLinAlgPack::DMatrixSliceSym view. | |
MatrixSymOpGetGMSSym interface for clients.
This takes care of worrying about if the MatrixSymOpGetGMSSym interface is supported or not and remembering to free the DenseLinAlgPack::DMatrixSliceSym view properly.
This class is only to be used on the stack as an automatic variable. For example, to extract a DenseLinAlgPack::DMatrixSliceSym view of an abstract vector and use it to call another function one could write a function like:
void call_func(const MatrixSymOpGetGMSSym& mat_in ) { func( MatrixDenseSymEncap(mat_in)() ); }
MatrixSymOpGetGMSSym object does not have to perform any dynamic memory allocations and copy in the method MatrixSymOpGetGMSSym::get_sym_gms_view() then the above code will only have a constant time overhead.
Definition at line 112 of file AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp.
|
|
Construct a
Definition at line 145 of file AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp. |
|
|
Construct a
If Definition at line 151 of file AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp. |
|
|
Frees the
Definition at line 157 of file AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp. |
|
|
Returns a constant view of the
Definition at line 163 of file AbstractLinAlgPack_MatrixSymOpGetGMSSym.hpp. |
1.3.9.1