RTOpPack::SubVectorT1B< Scalar > Class Template Reference

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

#include <RTOpPack_OldTypes.hpp>

Inheritance diagram for RTOpPack::SubVectorT1B< Scalar >:

Inheritance graph
[legend]
List of all members.

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 ()
 
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())).

Detailed Description

template<class Scalar>
class RTOpPack::SubVectorT1B< Scalar >

Class for a non-mutable sub-vector.

Definition at line 43 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B (  )  [inline]

Definition at line 46 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
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.

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

Definition at line 52 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B ( const ConstSubVectorView< Scalar > &  sv  )  [inline]

Definition at line 56 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

template<class Scalar>
RTOpPack::SubVectorT1B< Scalar >::operator ConstSubVectorView (  )  [inline]

Definition at line 60 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
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.

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

Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.

Definition at line 66 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
void RTOpPack::SubVectorT1B< Scalar >::setGlobalOffset ( Teuchos_Index  globalOffset  )  [inline]

Definition at line 69 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::globalOffset (  )  const [inline]

Definition at line 71 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::subDim (  )  const [inline]

Definition at line 73 of file RTOpPack_OldTypes.hpp.

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

Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.

Definition at line 75 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
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.

template<class Scalar>
ptrdiff_t RTOpPack::SubVectorT1B< Scalar >::stride (  )  const [inline]

Definition at line 79 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
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.

template<class Scalar>
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.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:50:36 2010 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by  doxygen 1.4.7