RTOpPack::SubVectorT1B< Scalar > Class Template Reference

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

#include <RTOpPack_OldTypes.hpp>

Inheritance diagram for RTOpPack::SubVectorT1B< Scalar >:

[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 Scalarvalues () const
 
ptrdiff_t stride () const
 
const Scalaroperator[] (Teuchos_Index i) const
 Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())).
const Scalaroperator() (Teuchos_Index i) const
 One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())).

Private Attributes

Teuchos_Index globalOffset_
Teuchos_Index subDim_
const Scalarvalues_
ptrdiff_t stride_

Detailed Description

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

Class for a non-mutable sub-vector.

Definition at line 42 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

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

Definition at line 45 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 47 of file RTOpPack_OldTypes.hpp.

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

Definition at line 51 of file RTOpPack_OldTypes.hpp.

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

Definition at line 55 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

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

Definition at line 59 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 62 of file RTOpPack_OldTypes.hpp.

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

Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.

Definition at line 65 of file RTOpPack_OldTypes.hpp.

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

Definition at line 68 of file RTOpPack_OldTypes.hpp.

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

Definition at line 70 of file RTOpPack_OldTypes.hpp.

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

Definition at line 72 of file RTOpPack_OldTypes.hpp.

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

Reimplemented in RTOpPack::MutableSubVectorT1B< Scalar >.

Definition at line 74 of file RTOpPack_OldTypes.hpp.

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

Definition at line 76 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 78 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 89 of file RTOpPack_OldTypes.hpp.


Member Data Documentation

template<class Scalar>
Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::globalOffset_ [private]
 

Definition at line 91 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubVectorT1B< Scalar >::subDim_ [private]
 

Definition at line 92 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
const Scalar* RTOpPack::SubVectorT1B< Scalar >::values_ [private]
 

Definition at line 93 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
ptrdiff_t RTOpPack::SubVectorT1B< Scalar >::stride_ [private]
 

Definition at line 94 of file RTOpPack_OldTypes.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:36:26 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1