RTOpPack::TOpEleWiseProd< Scalar > Class Template Reference

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

#include <RTOpPack_TOpEleWiseProd.hpp>

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

Detailed Description

template<class Scalar>
class RTOpPack::TOpEleWiseProd< Scalar >

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

Definition at line 41 of file RTOpPack_TOpEleWiseProd.hpp.


Constructor & Destructor Documentation

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

Definition at line 48 of file RTOpPack_TOpEleWiseProd.hpp.


Member Function Documentation

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

Definition at line 44 of file RTOpPack_TOpEleWiseProd.hpp.

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

Definition at line 46 of file RTOpPack_TOpEleWiseProd.hpp.

template<class Scalar>
void RTOpPack::TOpEleWiseProd< 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_TOpEleWiseProd.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:41 2008 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by doxygen 1.3.9.1