PlayaFunctors::Min< Scalar > Class Template Reference

Find value of minimum element of a vector. More...

Inheritance diagram for PlayaFunctors::Min< Scalar >:

PlayaFunctors::ReductionFunctorBase< Scalar >

List of all members.

Public Member Functions

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

Private Attributes

Scalar val_


Detailed Description

template<class Scalar>
class PlayaFunctors::Min< Scalar >

Find value of minimum element of a vector.

Definition at line 402 of file PlayaVectorFunctorsImpl.hpp.


Constructor & Destructor Documentation

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

Definition at line 405 of file PlayaVectorFunctorsImpl.hpp.


Member Function Documentation

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

Definition at line 426 of file PlayaVectorFunctorsImpl.hpp.

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

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

Definition at line 420 of file PlayaVectorFunctorsImpl.hpp.

References PlayaFunctors::Min< Scalar >::val_.

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

Definition at line 408 of file PlayaVectorFunctorsImpl.hpp.

References PlayaFunctors::Min< Scalar >::val_.


Member Data Documentation

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

Site Contact