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

#include <reduce.h>

Collaboration diagram for blitz::ReduceMinIndexVector< P_sourcetype, N >:
Collaboration graph

Public Types

typedef P_sourcetype T_sourcetype
 
typedef TinyVector< int, N > T_resulttype
 
typedef T_resulttype T_numtype
 

Public Member Functions

 ReduceMinIndexVector ()
 
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 min_
 
T_resulttype index_
 

Member Typedef Documentation

◆ T_numtype

template<typename P_sourcetype, int N>
typedef T_resulttype blitz::ReduceMinIndexVector< P_sourcetype, N >::T_numtype

◆ T_resulttype

template<typename P_sourcetype, int N>
typedef TinyVector<int,N> blitz::ReduceMinIndexVector< P_sourcetype, N >::T_resulttype

◆ T_sourcetype

template<typename P_sourcetype, int N>
typedef P_sourcetype blitz::ReduceMinIndexVector< P_sourcetype, N >::T_sourcetype

Constructor & Destructor Documentation

◆ ReduceMinIndexVector()

template<typename P_sourcetype, int N>
blitz::ReduceMinIndexVector< P_sourcetype, N >::ReduceMinIndexVector ( )
inline

Member Function Documentation

◆ name()

template<typename P_sourcetype, int N>
static const char * blitz::ReduceMinIndexVector< P_sourcetype, N >::name ( )
inlinestatic

◆ operator()()

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

References index_, and min_.

◆ reset()

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

References index_, and min_.

◆ result()

template<typename P_sourcetype, int N>
T_resulttype blitz::ReduceMinIndexVector< P_sourcetype, N >::result ( const int ) const
inline

References index_.

Member Data Documentation

◆ index_

template<typename P_sourcetype, int N>
T_resulttype blitz::ReduceMinIndexVector< P_sourcetype, N >::index_
mutableprotected

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

◆ min_

template<typename P_sourcetype, int N>
T_sourcetype blitz::ReduceMinIndexVector< P_sourcetype, N >::min_
mutableprotected

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

◆ needIndex

template<typename P_sourcetype, int N>
const bool blitz::ReduceMinIndexVector< P_sourcetype, N >::needIndex = true
static

◆ needInit

template<typename P_sourcetype, int N>
const bool blitz::ReduceMinIndexVector< P_sourcetype, N >::needInit = false
static

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