blitz Version 0.10
|
#include <reduce.h>
Public Types | |
typedef P_sourcetype | T_sourcetype |
typedef int | T_resulttype |
typedef T_resulttype | T_numtype |
Public Member Functions | |
ReduceMinIndex () | |
bool | operator() (const T_sourcetype &x, const T_resulttype &index) const |
T_resulttype | result (const int) const |
void | reset (const T_resulttype &index) const |
Static Public Member Functions | |
static const char * | name () |
Public Attributes | |
static const bool | needInit = false |
Static Public Attributes | |
static const bool | needIndex = true |
Protected Attributes | |
T_sourcetype | min_ |
T_resulttype | index_ |
typedef T_resulttype ReduceMinIndex< P_sourcetype >::T_numtype |
typedef int ReduceMinIndex< P_sourcetype >::T_resulttype |
typedef P_sourcetype ReduceMinIndex< P_sourcetype >::T_sourcetype |
ReduceMinIndex< P_sourcetype >::ReduceMinIndex | ( | ) | [inline] |
static const char* ReduceMinIndex< P_sourcetype >::name | ( | ) | [inline, static] |
bool ReduceMinIndex< P_sourcetype >::operator() | ( | const T_sourcetype & | x, |
const T_resulttype & | index | ||
) | const [inline] |
void ReduceMinIndex< P_sourcetype >::reset | ( | const T_resulttype & | index | ) | const [inline] |
T_resulttype ReduceMinIndex< P_sourcetype >::result | ( | const int | ) | const [inline] |
References ReduceMinIndex< P_sourcetype >::index_.
T_resulttype ReduceMinIndex< P_sourcetype >::index_ [mutable, protected] |
T_sourcetype ReduceMinIndex< P_sourcetype >::min_ [mutable, protected] |
Referenced by ReduceMinIndex< P_sourcetype >::operator()(), and ReduceMinIndex< P_sourcetype >::reset().
const bool ReduceMinIndex< P_sourcetype >::needIndex = true [static] |
const bool ReduceMinIndex< P_sourcetype >::needInit = false |