RTOpPack::ROpNormInf< Scalar > Class Template Reference

Infinity norm reduction operator: result = sum( |v0[i]|, i=0...n-1 ). More...

#include <RTOpPack_ROpNormInf.hpp>

Inheritance diagram for RTOpPack::ROpNormInf< Scalar >:

[legend]
List of all members.

Overridden from RTOpT

void reduce_reduct_objs (const ReductTarget &_in_reduct_obj, ReductTarget *_inout_reduct_obj) const
 
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 Types

typedef Teuchos::ScalarTraits<
Scalar >::magnitudeType 
ScalarMag
 

Public Member Functions

 ROpNormInf ()
 
ScalarMag operator() (const ReductTarget &reduct_obj) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpNormInf< Scalar >

Infinity norm reduction operator: result = sum( |v0[i]|, i=0...n-1 ).

Definition at line 40 of file RTOpPack_ROpNormInf.hpp.


Member Typedef Documentation

template<class Scalar>
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType RTOpPack::ROpNormInf< Scalar >::ScalarMag

Definition at line 45 of file RTOpPack_ROpNormInf.hpp.


Constructor & Destructor Documentation

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

Definition at line 47 of file RTOpPack_ROpNormInf.hpp.


Member Function Documentation

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

Definition at line 49 of file RTOpPack_ROpNormInf.hpp.

template<class Scalar>
void RTOpPack::ROpNormInf< Scalar >::reduce_reduct_objs ( const ReductTarget _in_reduct_obj,
ReductTarget _inout_reduct_obj 
) const [inline, virtual]

Reimplemented from RTOpPack::ROpScalarReductionBase< Scalar, Teuchos::ScalarTraits< Scalar >::magnitudeType >.

Definition at line 54 of file RTOpPack_ROpNormInf.hpp.

template<class Scalar>
void RTOpPack::ROpNormInf< 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 66 of file RTOpPack_ROpNormInf.hpp.


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