RTOpPack::TOpEleWiseDivide< Scalar > Class Template Reference

Element-wise division transformation operator: z0[i] += alpha*v0[i]/v1[i], i=0...n-1. More...

#include <RTOpPack_TOpEleWiseDivide.hpp>

Inheritance diagram for RTOpPack::TOpEleWiseDivide< 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
 
 TOpEleWiseDivide (const Scalar &alpha=Teuchos::ScalarTraits< Scalar >::one())
 

Detailed Description

template<class Scalar>
class RTOpPack::TOpEleWiseDivide< Scalar >

Element-wise division transformation operator: z0[i] += alpha*v0[i]/v1[i], i=0...n-1.

Definition at line 41 of file RTOpPack_TOpEleWiseDivide.hpp.


Constructor & Destructor Documentation

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

Definition at line 48 of file RTOpPack_TOpEleWiseDivide.hpp.


Member Function Documentation

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

Definition at line 44 of file RTOpPack_TOpEleWiseDivide.hpp.

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

Definition at line 46 of file RTOpPack_TOpEleWiseDivide.hpp.

template<class Scalar>
void RTOpPack::TOpEleWiseDivide< 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_TOpEleWiseDivide.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