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 ConstSubVectorView< Scalar > sub_vecs[], const int num_targ_vecs, const SubVectorView< 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 41 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 48 of file RTOpPack_TOpScaleVector.hpp.


Member Function Documentation

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

Definition at line 44 of file RTOpPack_TOpScaleVector.hpp.

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

Definition at line 46 of file RTOpPack_TOpScaleVector.hpp.

template<class Scalar>
void RTOpPack::TOpScaleVector< Scalar >::apply_op ( const int  num_vecs,
const ConstSubVectorView< Scalar >  sub_vecs[],
const int  num_targ_vecs,
const SubVectorView< Scalar >  targ_sub_vecs[],
ReductTarget reduct_obj 
) const [inline, virtual]

Implements RTOpPack::RTOpT< Scalar >.

Definition at line 54 of file RTOpPack_TOpScaleVector.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:46:15 2009 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by doxygen 1.4.7