blitz Version 1.0.2
Loading...
Searching...
No Matches
blitz::ReduceMaxIndexVector< P_sourcetype, N_rank > Class Template Reference

#include <reduce.h>

Collaboration diagram for blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >:
Collaboration graph

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 ()

Static Public Attributes

static const bool needIndex = true
static const bool needInit = false

Protected Attributes

T_sourcetype max_
T_resulttype index_

Member Typedef Documentation

◆ T_numtype

template<typename P_sourcetype, int N_rank>
typedef T_resulttype blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::T_numtype

◆ T_resulttype

template<typename P_sourcetype, int N_rank>
typedef TinyVector<int,N_rank> blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::T_resulttype

◆ T_sourcetype

template<typename P_sourcetype, int N_rank>
typedef P_sourcetype blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::T_sourcetype

Constructor & Destructor Documentation

◆ ReduceMaxIndexVector()

template<typename P_sourcetype, int N_rank>
blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::ReduceMaxIndexVector ( )
inline

Member Function Documentation

◆ name()

template<typename P_sourcetype, int N_rank>
const char * blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::name ( )
inlinestatic

◆ operator()()

template<typename P_sourcetype, int N_rank>
bool blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::operator() ( const T_sourcetype & x,
const T_resulttype & index ) const
inline

References index_, and max_.

◆ reset()

template<typename P_sourcetype, int N_rank>
void blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::reset ( const T_resulttype & index) const
inline

References index_, and max_.

◆ result()

template<typename P_sourcetype, int N_rank>
T_resulttype blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::result ( const int ) const
inline

References index_.

Member Data Documentation

◆ index_

template<typename P_sourcetype, int N_rank>
T_resulttype blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::index_
mutableprotected

Referenced by operator()(), reset(), and result().

◆ max_

template<typename P_sourcetype, int N_rank>
T_sourcetype blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::max_
mutableprotected

Referenced by operator()(), and reset().

◆ needIndex

template<typename P_sourcetype, int N_rank>
const bool blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::needIndex = true
static

◆ needInit

template<typename P_sourcetype, int N_rank>
const bool blitz::ReduceMaxIndexVector< P_sourcetype, N_rank >::needInit = false
static

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