|
RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators Version of the Day
|
Class for a non-mutable sub-vector. More...
#include <RTOpPack_OldTypes.hpp>

Public Member Functions | |
| SubVectorT1B () | |
| | |
| SubVectorT1B (Teuchos_Index globalOffset, Teuchos_Index subDim, const Scalar *values, ptrdiff_t stride) | |
| | |
| SubVectorT1B (const SubVectorT1B< Scalar > &sv) | |
| | |
| SubVectorT1B (const ConstSubVectorView< Scalar > &sv) | |
| | |
| operator ConstSubVectorView< Scalar > () | |
| | |
| void | initialize (Teuchos_Index globalOffset, Teuchos_Index subDim, const Scalar *values, ptrdiff_t stride) |
| | |
| void | set_uninitialized () |
| | |
| void | setGlobalOffset (Teuchos_Index globalOffset) |
| | |
| Teuchos_Index | globalOffset () const |
| | |
| Teuchos_Index | subDim () const |
| | |
| const Scalar * | values () const |
| | |
| const Teuchos::ArrayRCP< const Scalar > | arcp_values () const |
| | |
| ptrdiff_t | stride () const |
| | |
| const Scalar & | operator[] (Teuchos_Index i) const |
Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())) | |
| const Scalar & | operator() (Teuchos_Index i) const |
One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())) | |
Class for a non-mutable sub-vector.
Definition at line 43 of file RTOpPack_OldTypes.hpp.
| RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B | ( | ) | [inline] |
Definition at line 46 of file RTOpPack_OldTypes.hpp.
| RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B | ( | Teuchos_Index | globalOffset, |
| Teuchos_Index | subDim, | ||
| const Scalar * | values, | ||
| ptrdiff_t | stride | ||
| ) | [inline] |
Definition at line 48 of file RTOpPack_OldTypes.hpp.
| RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B | ( | const SubVectorT1B< Scalar > & | sv | ) | [inline] |
Definition at line 52 of file RTOpPack_OldTypes.hpp.
| RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B | ( | const ConstSubVectorView< Scalar > & | sv | ) | [inline] |
Definition at line 56 of file RTOpPack_OldTypes.hpp.
| RTOpPack::SubVectorT1B< Scalar >::operator ConstSubVectorView< Scalar > | ( | ) | [inline] |
Definition at line 60 of file RTOpPack_OldTypes.hpp.
| void RTOpPack::SubVectorT1B< Scalar >::initialize | ( | Teuchos_Index | globalOffset, |
| Teuchos_Index | subDim, | ||
| const Scalar * | values, | ||
| ptrdiff_t | stride | ||
| ) | [inline] |
Definition at line 63 of file RTOpPack_OldTypes.hpp.
| void RTOpPack::SubVectorT1B< Scalar >::set_uninitialized | ( | ) | [inline] |
Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.
Definition at line 66 of file RTOpPack_OldTypes.hpp.
| void RTOpPack::SubVectorT1B< Scalar >::setGlobalOffset | ( | Teuchos_Index | globalOffset | ) | [inline] |
Definition at line 69 of file RTOpPack_OldTypes.hpp.
| Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::globalOffset | ( | ) | const [inline] |
Definition at line 71 of file RTOpPack_OldTypes.hpp.
| Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::subDim | ( | ) | const [inline] |
Definition at line 73 of file RTOpPack_OldTypes.hpp.
| const Scalar* RTOpPack::SubVectorT1B< Scalar >::values | ( | ) | const [inline] |
Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.
Definition at line 75 of file RTOpPack_OldTypes.hpp.
| const Teuchos::ArrayRCP<const Scalar> RTOpPack::SubVectorT1B< Scalar >::arcp_values | ( | ) | const [inline] |
Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.
Definition at line 77 of file RTOpPack_OldTypes.hpp.
| ptrdiff_t RTOpPack::SubVectorT1B< Scalar >::stride | ( | ) | const [inline] |
Definition at line 79 of file RTOpPack_OldTypes.hpp.
| const Scalar& RTOpPack::SubVectorT1B< Scalar >::operator[] | ( | Teuchos_Index | i | ) | const [inline] |
Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim()))
Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.
Definition at line 81 of file RTOpPack_OldTypes.hpp.
| const Scalar& RTOpPack::SubVectorT1B< Scalar >::operator() | ( | Teuchos_Index | i | ) | const [inline] |
One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim()))
Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.
Definition at line 92 of file RTOpPack_OldTypes.hpp.
1.7.4