blitz Version 0.10
|
#include <reduce.h>
Public Types | |
typedef P_sourcetype | T_sourcetype |
typedef TinyVector< int, N_rank > | T_resulttype |
typedef T_resulttype | T_numtype |
Public Member Functions | |
ReduceMaxIndexVector () | |
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 | max_ |
T_resulttype | index_ |
typedef T_resulttype ReduceMaxIndexVector< P_sourcetype, N_rank >::T_numtype |
typedef TinyVector<int,N_rank> ReduceMaxIndexVector< P_sourcetype, N_rank >::T_resulttype |
typedef P_sourcetype ReduceMaxIndexVector< P_sourcetype, N_rank >::T_sourcetype |
ReduceMaxIndexVector< P_sourcetype, N_rank >::ReduceMaxIndexVector | ( | ) | [inline] |
static const char* ReduceMaxIndexVector< P_sourcetype, N_rank >::name | ( | ) | [inline, static] |
bool ReduceMaxIndexVector< P_sourcetype, N_rank >::operator() | ( | const T_sourcetype & | x, |
const T_resulttype & | index | ||
) | const [inline] |
void ReduceMaxIndexVector< P_sourcetype, N_rank >::reset | ( | const T_resulttype & | index | ) | const [inline] |
T_resulttype ReduceMaxIndexVector< P_sourcetype, N_rank >::result | ( | const int | ) | const [inline] |
T_resulttype ReduceMaxIndexVector< P_sourcetype, N_rank >::index_ [mutable, protected] |
T_sourcetype ReduceMaxIndexVector< P_sourcetype, N_rank >::max_ [mutable, protected] |
const bool ReduceMaxIndexVector< P_sourcetype, N_rank >::needIndex = true [static] |
const bool ReduceMaxIndexVector< P_sourcetype, N_rank >::needInit = false |