RTOpPack::ROpMax< Scalar > Class Template Reference

Returns the maximum element: result = max{ v0[i], i=0...n-1 }. More...

#include <RTOpPack_ROpMax.hpp>

Inheritance diagram for RTOpPack::ROpMax< 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 Member Functions

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

Detailed Description

template<class Scalar>
class RTOpPack::ROpMax< Scalar >

Returns the maximum element: result = max{ v0[i], i=0...n-1 }.

Definition at line 40 of file RTOpPack_ROpMax.hpp.


Constructor & Destructor Documentation

template<class Scalar>
RTOpPack::ROpMax< Scalar >::ROpMax  )  [inline]
 

Definition at line 43 of file RTOpPack_ROpMax.hpp.


Member Function Documentation

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

Definition at line 45 of file RTOpPack_ROpMax.hpp.

template<class Scalar>
void RTOpPack::ROpMax< Scalar >::reduce_reduct_objs const ReductTarget in_reduct_obj,
ReductTarget inout_reduct_obj
const [inline, virtual]
 

Reimplemented from RTOpPack::ROpScalarReductionBase< Scalar >.

Definition at line 49 of file RTOpPack_ROpMax.hpp.

template<class Scalar>
void RTOpPack::ROpMax< 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 58 of file RTOpPack_ROpMax.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:44 2008 for RTOp Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1