RTOpPack::ROpMaxIndex< Scalar > Class Template Reference

Returns the maximum element and its index: result.scalar = x(k) and result.index = k such that x(k) >= x(i) for i=0...n-1 and k is the minimum index to break ties. More...

#include <RTOpPack_ROpMaxIndex.hpp>

Inheritance diagram for RTOpPack::ROpMaxIndex< Scalar >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ROpMaxIndex ()
 
ScalarIndex< Scalar > operator() (const ReductTarget &reduct_obj) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpMaxIndex< Scalar >

Returns the maximum element and its index: result.scalar = x(k) and result.index = k such that x(k) >= x(i) for i=0...n-1 and k is the minimum index to break ties.

Definition at line 89 of file RTOpPack_ROpMaxIndex.hpp.


Constructor & Destructor Documentation

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

Definition at line 98 of file RTOpPack_ROpMaxIndex.hpp.


Member Function Documentation

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

Reimplemented from RTOpPack::ROpScalarReductionWithOpBase< Scalar, ReductScalar, ReductObjReduction >.

Definition at line 105 of file RTOpPack_ROpMaxIndex.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:25:52 2010 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by  doxygen 1.4.7