Public Member Functions | Private Attributes
PlayaFunctors::Norm1< Scalar > Class Template Reference

1-norm of a vector More...

Inheritance diagram for PlayaFunctors::Norm1< Scalar >:
PlayaFunctors::ReductionFunctorBase< Scalar >

List of all members.

Public Member Functions

 Norm1 (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::Norm1< Scalar >

1-norm of a vector

Definition at line 341 of file PlayaVectorFunctorsImpl.hpp.


Constructor & Destructor Documentation

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

Definition at line 344 of file PlayaVectorFunctorsImpl.hpp.


Member Function Documentation

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

Definition at line 365 of file PlayaVectorFunctorsImpl.hpp.

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

Definition at line 359 of file PlayaVectorFunctorsImpl.hpp.

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

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

Definition at line 347 of file PlayaVectorFunctorsImpl.hpp.

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


Member Data Documentation

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

Site Contact