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::ROpMinIndex< Scalar > Class Template Reference

Returns the minimum 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_ROpMinIndex.hpp>

Inheritance diagram for RTOpPack::ROpMinIndex< Scalar >:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

template<class Scalar>
class RTOpPack::ROpMinIndex< Scalar >

Returns the minimum 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 104 of file RTOpPack_ROpMinIndex.hpp.

Constructor & Destructor Documentation

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

Definition at line 113 of file RTOpPack_ROpMinIndex.hpp.

Member Function Documentation

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

Definition at line 120 of file RTOpPack_ROpMinIndex.hpp.


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