#include <RTOpPack_Types.hpp>
Inheritance diagram for RTOpPack::SubMultiVectorView< Scalar >:

Public Member Functions | |
| SubMultiVectorView () | |
| | |
| SubMultiVectorView (Teuchos_Index numRows_in, Teuchos_Index numCols_in) | |
| | |
| SubMultiVectorView (Teuchos_Index globalOffset_in, Teuchos_Index subDim_in, Teuchos_Index colOffset_in, Teuchos_Index numSubCols_in, const ArrayRCP< Scalar > &values_in, Teuchos_Index leadingDim_in) | |
| | |
| SubMultiVectorView (const SubMultiVectorView< Scalar > &smv) | |
| | |
| void | initialize (Teuchos_Index globalOffset_in, Teuchos_Index subDim_in, Teuchos_Index colOffset_in, Teuchos_Index numSubCols_in, const ArrayRCP< Scalar > &values_in, Teuchos_Index leadingDim_in) |
| | |
| const ArrayRCP< Scalar > | values () const |
| | |
| Scalar & | operator() (Teuchos_Index i, Teuchos_Index j) const |
Zero-based indexing (Preconditions: values()!=NULL && (0<=i< subDim()) && (0<=j<numSubCols()). | |
| SubVectorView< Scalar > | col (const Teuchos_Index j) const |
Return a SubVectorView view of the jth sub-column (Preconditions: values()!=NULL && && (0<=j<numSubCols()). | |
| SubMultiVectorView (Teuchos_Index globalOffset_in, Teuchos_Index subDim_in, Teuchos_Index colOffset_in, Teuchos_Index numSubCols_in, Scalar values_in[], Teuchos_Index leadingDim_in) | |
| Deprecated. | |
| void | initialize (Teuchos_Index globalOffset_in, Teuchos_Index subDim_in, Teuchos_Index colOffset_in, Teuchos_Index numSubCols_in, Scalar values_in[], Teuchos_Index leadingDim_in) |
| Deprecated. | |
This class derives from ConstSubVectorView and adds methods to change 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!
NOTE: It is perfectly safe to derive this class from ConstSubMultiVectorView even through it does not have a virtual destructor. That is because this derived class has no data members that would cause problems in slicing or memory leaks when deleting.
Definition at line 510 of file RTOpPack_Types.hpp.
| RTOpPack::SubMultiVectorView< Scalar >::SubMultiVectorView | ( | ) | [inline] |
| RTOpPack::SubMultiVectorView< Scalar >::SubMultiVectorView | ( | Teuchos_Index | numRows_in, | |
| Teuchos_Index | numCols_in | |||
| ) | [inline] |
| RTOpPack::SubMultiVectorView< Scalar >::SubMultiVectorView | ( | Teuchos_Index | globalOffset_in, | |
| Teuchos_Index | subDim_in, | |||
| Teuchos_Index | colOffset_in, | |||
| Teuchos_Index | numSubCols_in, | |||
| const ArrayRCP< Scalar > & | values_in, | |||
| Teuchos_Index | leadingDim_in | |||
| ) | [inline] |
| RTOpPack::SubMultiVectorView< Scalar >::SubMultiVectorView | ( | const SubMultiVectorView< Scalar > & | smv | ) | [inline] |
| RTOpPack::SubMultiVectorView< Scalar >::SubMultiVectorView | ( | Teuchos_Index | globalOffset_in, | |
| Teuchos_Index | subDim_in, | |||
| Teuchos_Index | colOffset_in, | |||
| Teuchos_Index | numSubCols_in, | |||
| Scalar | values_in[], | |||
| Teuchos_Index | leadingDim_in | |||
| ) | [inline] |
| void RTOpPack::SubMultiVectorView< Scalar >::initialize | ( | Teuchos_Index | globalOffset_in, | |
| Teuchos_Index | subDim_in, | |||
| Teuchos_Index | colOffset_in, | |||
| Teuchos_Index | numSubCols_in, | |||
| const ArrayRCP< Scalar > & | values_in, | |||
| Teuchos_Index | leadingDim_in | |||
| ) | [inline] |
| const ArrayRCP<Scalar> RTOpPack::SubMultiVectorView< Scalar >::values | ( | ) | const [inline] |
Reimplemented from RTOpPack::ConstSubMultiVectorView< Scalar >.
Definition at line 545 of file RTOpPack_Types.hpp.
| Scalar& RTOpPack::SubMultiVectorView< Scalar >::operator() | ( | Teuchos_Index | i, | |
| Teuchos_Index | j | |||
| ) | const [inline] |
Zero-based indexing (Preconditions: values()!=NULL && (0<=i< subDim()) && (0<=j<numSubCols()).
Reimplemented from RTOpPack::ConstSubMultiVectorView< Scalar >.
Definition at line 553 of file RTOpPack_Types.hpp.
| SubVectorView<Scalar> RTOpPack::SubMultiVectorView< Scalar >::col | ( | const Teuchos_Index | j | ) | const [inline] |
Return a SubVectorView view of the jth sub-column (Preconditions: values()!=NULL && && (0<=j<numSubCols()).
Reimplemented from RTOpPack::ConstSubMultiVectorView< Scalar >.
Definition at line 558 of file RTOpPack_Types.hpp.
| void RTOpPack::SubMultiVectorView< Scalar >::initialize | ( | Teuchos_Index | globalOffset_in, | |
| Teuchos_Index | subDim_in, | |||
| Teuchos_Index | colOffset_in, | |||
| Teuchos_Index | numSubCols_in, | |||
| Scalar | values_in[], | |||
| Teuchos_Index | leadingDim_in | |||
| ) | [inline] |
Deprecated.
Reimplemented from RTOpPack::ConstSubMultiVectorView< Scalar >.
Definition at line 577 of file RTOpPack_Types.hpp.
1.4.7