#include <RTOpPack_Types.hpp>
Inheritance diagram for RTOpPack::MutableSubVectorT< Scalar >:
Public Member Functions | |
| MutableSubVectorT () | |
| | |
| MutableSubVectorT (RTOp_index_type globalOffset, RTOp_index_type subDim, Scalar *values, ptrdiff_t stride) | |
| | |
| MutableSubVectorT (const MutableSubVectorT< Scalar > &sv) | |
| | |
| void | initialize (RTOp_index_type globalOffset, RTOp_index_type subDim, Scalar *values, ptrdiff_t stride) |
| | |
| void | set_uninitialized () |
| | |
| Scalar * | values () const |
| | |
| Scalar & | operator[] (RTOp_index_type i) const |
Zero-based indexing (Preconditions: values()!=NULL && (0 <= i <= subDim()-1)). | |
| Scalar & | operator() (RTOp_index_type i) const |
One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())). | |
This class derives from SubVectorT and adds methods to mutate the data. Note, a const MutableSubVectorT object allows clients to change the values in the underlying subvector. The meaning of const in this context is that the view of the data can not change.
Warning! the default copy constructor and assignment operators are allowed which results in only pointer copy, not deep copy! You have been warned!
Definition at line 147 of file RTOpPack_Types.hpp.
|
|||||||||
|
Definition at line 150 of file RTOpPack_Types.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 152 of file RTOpPack_Types.hpp. |
|
||||||||||
|
Definition at line 156 of file RTOpPack_Types.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 160 of file RTOpPack_Types.hpp. |
|
|||||||||
|
Reimplemented from RTOpPack::SubVectorT< Scalar >. Definition at line 163 of file RTOpPack_Types.hpp. |
|
|||||||||
|
Reimplemented from RTOpPack::SubVectorT< Scalar >. Definition at line 166 of file RTOpPack_Types.hpp. |
|
||||||||||
|
Zero-based indexing (Preconditions:
Reimplemented from RTOpPack::SubVectorT< Scalar >. Definition at line 168 of file RTOpPack_Types.hpp. |
|
||||||||||
|
One-based indexing (Preconditions:
Reimplemented from RTOpPack::SubVectorT< Scalar >. Definition at line 170 of file RTOpPack_Types.hpp. |
1.3.9.1