MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
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]

Public Member Functions

 SubVectorT1B ()
 
 SubVectorT1B (Teuchos_Ordinal globalOffset, Teuchos_Ordinal subDim, const Scalar *values, ptrdiff_t stride)
 
 SubVectorT1B (const SubVectorT1B< Scalar > &sv)
 
 SubVectorT1B (const ConstSubVectorView< Scalar > &sv)
 
 operator ConstSubVectorView< Scalar > ()
 
void initialize (Teuchos_Ordinal globalOffset, Teuchos_Ordinal subDim, const Scalar *values, ptrdiff_t stride)
 
void set_uninitialized ()
 
void setGlobalOffset (Teuchos_Ordinal globalOffset)
 
Teuchos_Ordinal globalOffset () const
 
Teuchos_Ordinal subDim () const
 
const Scalar * values () const
 
const Teuchos::ArrayRCP< const
Scalar > 
arcp_values () const
 
ptrdiff_t stride () const
 
const Scalar & operator[] (Teuchos_Ordinal i) const
 Zero-based indexing (Preconditions: values()!=NULL && (0 <= i < subDim())) More...
 
const Scalar & operator() (Teuchos_Ordinal i) const
 One-based indexing (Preconditions: values()!=NULL && (1 <= i <= subDim())) More...
 

Private Attributes

Teuchos_Ordinal globalOffset_
 
Teuchos_Ordinal subDim_
 
Teuchos::ArrayRCP< const Scalar > values_
 
ptrdiff_t stride_
 

Detailed Description

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

Class for a non-mutable sub-vector.

Definition at line 56 of file RTOpPack_OldTypes.hpp.

Constructor & Destructor Documentation

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

Definition at line 59 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::SubVectorT1B< Scalar >::SubVectorT1B ( Teuchos_Ordinal  globalOffset,
Teuchos_Ordinal  subDim,
const Scalar *  values,
ptrdiff_t  stride 
)
inline

Definition at line 61 of file RTOpPack_OldTypes.hpp.

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

Definition at line 65 of file RTOpPack_OldTypes.hpp.

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

Definition at line 69 of file RTOpPack_OldTypes.hpp.

Member Function Documentation

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

Definition at line 73 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
void RTOpPack::SubVectorT1B< Scalar >::initialize ( Teuchos_Ordinal  globalOffset,
Teuchos_Ordinal  subDim,
const Scalar *  values,
ptrdiff_t  stride 
)
inline

Definition at line 76 of file RTOpPack_OldTypes.hpp.

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

Definition at line 79 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
void RTOpPack::SubVectorT1B< Scalar >::setGlobalOffset ( Teuchos_Ordinal  globalOffset)
inline

Definition at line 82 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Ordinal RTOpPack::SubVectorT1B< Scalar >::globalOffset ( ) const
inline

Definition at line 84 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Ordinal RTOpPack::SubVectorT1B< Scalar >::subDim ( ) const
inline

Definition at line 86 of file RTOpPack_OldTypes.hpp.

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

Definition at line 88 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
const Teuchos::ArrayRCP<const Scalar> RTOpPack::SubVectorT1B< Scalar >::arcp_values ( ) const
inline

Definition at line 90 of file RTOpPack_OldTypes.hpp.

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

Definition at line 92 of file RTOpPack_OldTypes.hpp.

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

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

Definition at line 94 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
const Scalar& RTOpPack::SubVectorT1B< Scalar >::operator() ( Teuchos_Ordinal  i) const
inline

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

Definition at line 105 of file RTOpPack_OldTypes.hpp.

Member Data Documentation

template<class Scalar>
Teuchos_Ordinal RTOpPack::SubVectorT1B< Scalar >::globalOffset_
private

Definition at line 107 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Ordinal RTOpPack::SubVectorT1B< Scalar >::subDim_
private

Definition at line 108 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos::ArrayRCP<const Scalar> RTOpPack::SubVectorT1B< Scalar >::values_
private

Definition at line 109 of file RTOpPack_OldTypes.hpp.

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

Definition at line 110 of file RTOpPack_OldTypes.hpp.


The documentation for this class was generated from the following file: