DenseLinAlgPack::DVectorSlice view of a VectorMutable object.
More...
#include <AbstractLinAlgPack_VectorDenseEncap.hpp>
Public Member Functions | |
| VectorDenseMutableEncap (VectorMutable &vec) | |
Calls vec.get_sub_vector(Range1D(),&sub_vec) to get the view. | |
| ~VectorDenseMutableEncap () | |
Calls vec.commit_sub_vector(&sub_vec) to release the view. | |
| DVectorSlice & | operator() () |
| Returns a reference to a constant view of the dense vector. | |
| const DVectorSlice & | operator() () const |
| Returns a reference to a non-const view of the dense vector. | |
DenseLinAlgPack::DVectorSlice view of a VectorMutable object.
This utility class is defined purly in terms of the abstract interfaces. It is only to be used as an automatic variable on the stack. Note that the underlying VectorMutable object is not guarrenteed to be modified until the destructor for this is called.
Definition at line 62 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
|
Calls
Definition at line 118 of file AbstractLinAlgPack_VectorDenseEncap.hpp. |
|
|
Calls
Definition at line 131 of file AbstractLinAlgPack_VectorDenseEncap.hpp. |
|
|
Returns a reference to a constant view of the dense vector.
Definition at line 137 of file AbstractLinAlgPack_VectorDenseEncap.hpp. |
|
|
Returns a reference to a non-const view of the dense vector.
Definition at line 143 of file AbstractLinAlgPack_VectorDenseEncap.hpp. |
1.3.9.1