#include <RTOpPack_Types.hpp>
Inheritance diagram for RTOpPack::SubVectorView< Scalar >:
Public Member Functions | |
| SubVectorView () | |
| | |
| SubVectorView (Teuchos_Index globalOffset, Teuchos_Index subDim, Scalar *values, ptrdiff_t stride) | |
| | |
| SubVectorView (const SubVectorView< Scalar > &sv) | |
| | |
| void | initialize (Teuchos_Index globalOffset, Teuchos_Index subDim, Scalar *values, ptrdiff_t stride) |
| | |
| void | set_uninitialized () |
| | |
| Scalar * | values () const |
| | |
| Scalar & | operator[] (Teuchos_Index i) const |
Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())). | |
| Scalar & | operator() (Teuchos_Index i) const |
Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())). | |
This class derives from ConstSubVectorView and adds methods to mutate the data. Note, a const SubVectorView 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 156 of file RTOpPack_Types.hpp.
|
|||||||||
|
Definition at line 159 of file RTOpPack_Types.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 161 of file RTOpPack_Types.hpp. |
|
||||||||||
|
Definition at line 165 of file RTOpPack_Types.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 169 of file RTOpPack_Types.hpp. |
|
|||||||||
|
Reimplemented from RTOpPack::ConstSubVectorView< Scalar >. Definition at line 172 of file RTOpPack_Types.hpp. |
|
|||||||||
|
Reimplemented from RTOpPack::ConstSubVectorView< Scalar >. Definition at line 175 of file RTOpPack_Types.hpp. |
|
||||||||||
|
Zero-based indexing (Preconditions:
Reimplemented from RTOpPack::ConstSubVectorView< Scalar >. Definition at line 177 of file RTOpPack_Types.hpp. |
|
||||||||||
|
Zero-based indexing (Preconditions:
Reimplemented from RTOpPack::ConstSubVectorView< Scalar >. Definition at line 179 of file RTOpPack_Types.hpp. |
1.3.9.1