RTOpPack::ROpDotProd< Scalar > Class Template Reference

Dot product reduction operator: result = sum( conj(v0[i])*v1[i], i=0...n-1 ). More...

#include <RTOpPack_ROpDotProd.hpp>

Inheritance diagram for RTOpPack::ROpDotProd< 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

 ROpDotProd ()
 
Scalar operator() (const ReductTarget &reduct_obj) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpDotProd< Scalar >

Dot product reduction operator: result = sum( conj(v0[i])*v1[i], i=0...n-1 ).

Definition at line 40 of file RTOpPack_ROpDotProd.hpp.


Constructor & Destructor Documentation

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

Definition at line 43 of file RTOpPack_ROpDotProd.hpp.


Member Function Documentation

template<class Scalar>
Scalar RTOpPack::ROpDotProd< Scalar >::operator() ( const ReductTarget reduct_obj  )  const [inline]

Definition at line 45 of file RTOpPack_ROpDotProd.hpp.

template<class Scalar>
void RTOpPack::ROpDotProd< 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 49 of file RTOpPack_ROpDotProd.hpp.


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