MOOCHO (Single Doxygen Collection) Version of the Day
Public Member Functions
RTOpPack::MutableSubVectorT1B< Scalar > Class Template Reference

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

#include <RTOpPack_OldTypes.hpp>

Inheritance diagram for RTOpPack::MutableSubVectorT1B< Scalar >:
Inheritance graph
[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< Scalar > ()
 
void initialize (Teuchos_Index globalOffset, Teuchos_Index subDim, Scalar *values, ptrdiff_t stride)
 
void set_uninitialized ()
 
Scalar * values () const
 
const Teuchos::ArrayRCP< Scalar > arcp_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 103 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

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

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

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

Definition at line 112 of file RTOpPack_OldTypes.hpp.

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

Definition at line 116 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

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

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

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

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 126 of file RTOpPack_OldTypes.hpp.

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

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 129 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
const Teuchos::ArrayRCP<Scalar> RTOpPack::MutableSubVectorT1B< Scalar >::arcp_values ( ) const [inline]

Reimplemented from RTOpPack::SubVectorT1B< Scalar >.

Definition at line 131 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 133 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 135 of file RTOpPack_OldTypes.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines