PlayaFunctors::DotProduct< Scalar > Class Template Reference

Dot product of two vectors. More...

Inheritance diagram for PlayaFunctors::DotProduct< Scalar >:

PlayaFunctors::ReductionFunctorBase< Scalar >

List of all members.

Public Member Functions

 DotProduct (const MPIComm &comm)
void step (int i, const Scalar &x, const Scalar &y) const
void postProc () const
Scalar result () const
std::string description () const

Private Attributes

Scalar val_


Detailed Description

template<class Scalar>
class PlayaFunctors::DotProduct< Scalar >

Dot product of two vectors.

Definition at line 369 of file PlayaVectorFunctorsImpl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
PlayaFunctors::DotProduct< Scalar >::DotProduct ( const MPIComm comm  )  [inline]

Definition at line 372 of file PlayaVectorFunctorsImpl.hpp.


Member Function Documentation

template<class Scalar >
std::string PlayaFunctors::DotProduct< Scalar >::description (  )  const [inline]

Definition at line 393 of file PlayaVectorFunctorsImpl.hpp.

template<class Scalar >
void PlayaFunctors::DotProduct< Scalar >::postProc (  )  const [inline, virtual]

template<class Scalar >
Scalar PlayaFunctors::DotProduct< Scalar >::result (  )  const [inline]

template<class Scalar >
void PlayaFunctors::DotProduct< Scalar >::step ( int  i,
const Scalar &  x,
const Scalar &  y 
) const [inline]


Member Data Documentation

template<class Scalar >
Scalar PlayaFunctors::DotProduct< Scalar >::val_ [mutable, private]

Site Contact