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]
List of all members.

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 91 of file RTOpPack_ROpMinIndex.hpp.


Constructor & Destructor Documentation

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

Definition at line 100 of file RTOpPack_ROpMinIndex.hpp.


Member Function Documentation

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

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

Definition at line 107 of file RTOpPack_ROpMinIndex.hpp.


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