RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Member Functions
RTOpPack::MutableSubMultiVectorT1B< Scalar > Class Template Reference

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

#include <RTOpPack_OldTypes.hpp>

Inheritance diagram for RTOpPack::MutableSubMultiVectorT1B< Scalar >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MutableSubMultiVectorT1B ()
 
 MutableSubMultiVectorT1B (Teuchos_Ordinal globalOffset, Teuchos_Ordinal subDim, Teuchos_Ordinal colOffset, Teuchos_Ordinal numSubCols, const Scalar *values, Teuchos_Ordinal leadingDim)
 
 MutableSubMultiVectorT1B (const MutableSubMultiVectorT1B< Scalar > &smv)
 
void initialize (Teuchos_Ordinal globalOffset, Teuchos_Ordinal subDim, Teuchos_Ordinal colOffset, Teuchos_Ordinal numSubCols, const Scalar *values, Teuchos_Ordinal leadingDim)
 
void set_uninitialized ()
 
Scalar * values () const
 
Scalar & operator() (Teuchos_Ordinal i, Teuchos_Ordinal j) const
 One-based indexing (Preconditions: values()!=NULL && (1<=i<= subDim()) && (1<=j<=numSubCols())
MutableSubVectorT1B< Scalar > col (const Teuchos_Ordinal j) const
 Return a MutableSubVectorT1B view of the jth sub-column (Preconditions: values()!=NULL && (1<=j<=numSubCols())

Detailed Description

template<class Scalar>
class RTOpPack::MutableSubMultiVectorT1B< Scalar >

Class for a mutable sub-vector.

Definition at line 261 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

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

Definition at line 264 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::MutableSubMultiVectorT1B< Scalar >::MutableSubMultiVectorT1B ( Teuchos_Ordinal  globalOffset,
Teuchos_Ordinal  subDim,
Teuchos_Ordinal  colOffset,
Teuchos_Ordinal  numSubCols,
const Scalar *  values,
Teuchos_Ordinal  leadingDim 
) [inline]

Definition at line 266 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
RTOpPack::MutableSubMultiVectorT1B< Scalar >::MutableSubMultiVectorT1B ( const MutableSubMultiVectorT1B< Scalar > &  smv) [inline]

Definition at line 274 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

template<class Scalar>
void RTOpPack::MutableSubMultiVectorT1B< Scalar >::initialize ( Teuchos_Ordinal  globalOffset,
Teuchos_Ordinal  subDim,
Teuchos_Ordinal  colOffset,
Teuchos_Ordinal  numSubCols,
const Scalar *  values,
Teuchos_Ordinal  leadingDim 
) [inline]

Reimplemented from RTOpPack::SubMultiVectorT1B< Scalar >.

Definition at line 290 of file RTOpPack_OldTypes.hpp.

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

Reimplemented from RTOpPack::SubMultiVectorT1B< Scalar >.

Definition at line 297 of file RTOpPack_OldTypes.hpp.

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

Reimplemented from RTOpPack::SubMultiVectorT1B< Scalar >.

Definition at line 300 of file RTOpPack_OldTypes.hpp.

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

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

Reimplemented from RTOpPack::SubMultiVectorT1B< Scalar >.

Definition at line 302 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
MutableSubVectorT1B<Scalar> RTOpPack::MutableSubMultiVectorT1B< Scalar >::col ( const Teuchos_Ordinal  j) const [inline]

Return a MutableSubVectorT1B view of the jth sub-column (Preconditions: values()!=NULL && (1<=j<=numSubCols())

Reimplemented from RTOpPack::SubMultiVectorT1B< Scalar >.

Definition at line 305 of file RTOpPack_OldTypes.hpp.


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