Collection of Concrete Vector Reduction/Transformation Operator Implementations  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
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]

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 70 of file RTOpPack_ROpMaxIndex.hpp.

Constructor & Destructor Documentation

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

Definition at line 79 of file RTOpPack_ROpMaxIndex.hpp.

Member Function Documentation

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

Definition at line 86 of file RTOpPack_ROpMaxIndex.hpp.


The documentation for this class was generated from the following file: