RTOpPack::MutableSubVectorT1B< Scalar > Class Template Reference

Class for a mutable sub-vector. More...

#include <RTOpPack_OldTypes.hpp>

Inheritance diagram for RTOpPack::MutableSubVectorT1B< Scalar >:

[legend]
List of all members.

Public Member Functions

 MutableSubVectorT1B ()
 
 MutableSubVectorT1B (Teuchos_Index globalOffset, Teuchos_Index subDim, Scalar *values, ptrdiff_t stride)
 
 MutableSubVectorT1B (const MutableSubVectorT1B< Scalar > &sv)
 
 MutableSubVectorT1B (const SubVectorView< Scalar > &sv)
 
 operator SubVectorView ()
 
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
 One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())).

Detailed Description

template<class Scalar>
class RTOpPack::MutableSubVectorT1B< Scalar >

Class for a mutable sub-vector.

Definition at line 100 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::MutableSubVectorT1B< Scalar >::MutableSubVectorT1B  )  [inline]
 

Definition at line 103 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::MutableSubVectorT1B< Scalar >::MutableSubVectorT1B Teuchos_Index  globalOffset,
Teuchos_Index  subDim,
Scalar *  values,
ptrdiff_t  stride
[inline]
 

Definition at line 105 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::MutableSubVectorT1B< Scalar >::MutableSubVectorT1B const MutableSubVectorT1B< Scalar > &  sv  )  [inline]
 

Definition at line 109 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::MutableSubVectorT1B< Scalar >::MutableSubVectorT1B const SubVectorView< Scalar > &  sv  )  [inline]
 

Definition at line 113 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

template<class Scalar>
RTOpPack::MutableSubVectorT1B< Scalar >::operator SubVectorView  )  [inline]
 

Definition at line 117 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
void RTOpPack::MutableSubVectorT1B< Scalar >::initialize Teuchos_Index  globalOffset,
Teuchos_Index  subDim,
Scalar *  values,
ptrdiff_t  stride
[inline]
 

Definition at line 120 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
void RTOpPack::MutableSubVectorT1B< Scalar >::set_uninitialized  )  [inline]
 

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 123 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Scalar* RTOpPack::MutableSubVectorT1B< Scalar >::values  )  const [inline]
 

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 126 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Scalar& RTOpPack::MutableSubVectorT1B< Scalar >::operator[] Teuchos_Index  i  )  const [inline]
 

Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())).

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 128 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Scalar& RTOpPack::MutableSubVectorT1B< Scalar >::operator() Teuchos_Index  i  )  const [inline]
 

One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())).

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 130 of file RTOpPack_OldTypes.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:33:39 2008 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by doxygen 1.3.9.1