RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators Version of the Day
Public Member Functions
RTOpPack::SubMultiVectorT1B< Scalar > Class Template Reference

Class for a non-mutable sub-multi-vector (submatrix). More...

#include <RTOpPack_OldTypes.hpp>

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

List of all members.

Public Member Functions

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

Detailed Description

template<class Scalar>
class RTOpPack::SubMultiVectorT1B< Scalar >

Class for a non-mutable sub-multi-vector (submatrix).

Definition at line 153 of file RTOpPack_OldTypes.hpp.


Constructor & Destructor Documentation

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

Definition at line 156 of file RTOpPack_OldTypes.hpp.

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

Definition at line 161 of file RTOpPack_OldTypes.hpp.

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

Definition at line 171 of file RTOpPack_OldTypes.hpp.


Member Function Documentation

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

Reimplemented in RTOpPack::MutableSubMultiVectorT1B< Scalar >.

Definition at line 186 of file RTOpPack_OldTypes.hpp.

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

Reimplemented in RTOpPack::MutableSubMultiVectorT1B< Scalar >.

Definition at line 194 of file RTOpPack_OldTypes.hpp.

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

Definition at line 197 of file RTOpPack_OldTypes.hpp.

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

Definition at line 199 of file RTOpPack_OldTypes.hpp.

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

Definition at line 201 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubMultiVectorT1B< Scalar >::colOffset ( ) const [inline]

Definition at line 203 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubMultiVectorT1B< Scalar >::numSubCols ( ) const [inline]

Definition at line 205 of file RTOpPack_OldTypes.hpp.

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

Reimplemented in RTOpPack::MutableSubMultiVectorT1B< Scalar >.

Definition at line 207 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
Teuchos_Index RTOpPack::SubMultiVectorT1B< Scalar >::leadingDim ( ) const [inline]

Definition at line 209 of file RTOpPack_OldTypes.hpp.

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

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

Reimplemented in RTOpPack::MutableSubMultiVectorT1B< Scalar >.

Definition at line 211 of file RTOpPack_OldTypes.hpp.

template<class Scalar>
SubVectorT1B<Scalar> RTOpPack::SubMultiVectorT1B< Scalar >::col ( const Teuchos_Index  j) const [inline]

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

Reimplemented in RTOpPack::MutableSubMultiVectorT1B< Scalar >.

Definition at line 226 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