RTOpPack::TOpScaleVector< Scalar > Class Template Reference

Simple transformation operator that scales every vector element by a scalar alpha. More...

#include <RTOpPack_TOpScaleVector.hpp>

Inheritance diagram for RTOpPack::TOpScaleVector< Scalar >:

[legend]
List of all members.

Overridden from RTOpT

void apply_op (const int num_vecs, const SubVectorT< Scalar > sub_vecs[], const int num_targ_vecs, const MutableSubVectorT< Scalar > targ_sub_vecs[], ReductTarget *reduct_obj) const
 

Public Member Functions

void alpha (const Scalar &alpha)
 
Scalar alpha () const
 
 TOpScaleVector (const Scalar &alpha=Teuchos::ScalarTraits< Scalar >::zero())
 

Detailed Description

template<class Scalar>
class RTOpPack::TOpScaleVector< Scalar >

Simple transformation operator that scales every vector element by a scalar alpha.

Definition at line 40 of file RTOpPack_TOpScaleVector.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::TOpScaleVector< Scalar >::TOpScaleVector const Scalar &  alpha = Teuchos::ScalarTraits<Scalar>::zero()  )  [inline]
 

Definition at line 47 of file RTOpPack_TOpScaleVector.hpp.


Member Function Documentation

template<class Scalar>
void RTOpPack::TOpScaleVector< Scalar >::alpha const Scalar &  alpha  )  [inline]
 

Definition at line 43 of file RTOpPack_TOpScaleVector.hpp.

template<class Scalar>
Scalar RTOpPack::TOpScaleVector< Scalar >::alpha  )  const [inline]
 

Definition at line 45 of file RTOpPack_TOpScaleVector.hpp.

template<class Scalar>
void RTOpPack::TOpScaleVector< Scalar >::apply_op const int  num_vecs,
const SubVectorT< Scalar >  sub_vecs[],
const int  num_targ_vecs,
const MutableSubVectorT< Scalar >  targ_sub_vecs[],
ReductTarget reduct_obj
const [inline, virtual]
 

Implements RTOpPack::RTOpT< Scalar >.

Definition at line 53 of file RTOpPack_TOpScaleVector.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:39:45 2008 for RTOp : Vector Reduction/Transformation Operators by doxygen 1.3.9.1