blitz Version 1.0.2
Loading...
Searching...
No Matches
blitz::ReduceMinMax< P_sourcetype > Class Template Reference

#include <reduce.h>

Collaboration diagram for blitz::ReduceMinMax< P_sourcetype >:
Collaboration graph

Public Types

typedef P_sourcetype T_sourcetype
 
typedef MinMaxValue< P_sourcetype > T_resulttype
 
typedef T_resulttype T_numtype
 

Public Member Functions

 ReduceMinMax ()
 
bool operator() (T_sourcetype x, const int=0) const
 
T_resulttype result (int)
 
void reset (P_sourcetype initialValue) const
 

Static Public Member Functions

static const char * name ()
 

Static Public Attributes

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

Protected Attributes

T_resulttype minmax_
 

Member Typedef Documentation

◆ T_numtype

template<typename P_sourcetype >
typedef T_resulttype blitz::ReduceMinMax< P_sourcetype >::T_numtype

◆ T_resulttype

template<typename P_sourcetype >
typedef MinMaxValue<P_sourcetype> blitz::ReduceMinMax< P_sourcetype >::T_resulttype

◆ T_sourcetype

template<typename P_sourcetype >
typedef P_sourcetype blitz::ReduceMinMax< P_sourcetype >::T_sourcetype

Constructor & Destructor Documentation

◆ ReduceMinMax()

template<typename P_sourcetype >
blitz::ReduceMinMax< P_sourcetype >::ReduceMinMax ( )
inline

Member Function Documentation

◆ name()

template<typename P_sourcetype >
static const char * blitz::ReduceMinMax< P_sourcetype >::name ( )
inlinestatic

◆ operator()()

template<typename P_sourcetype >
bool blitz::ReduceMinMax< P_sourcetype >::operator() ( T_sourcetype  x,
const int  = 0 
) const
inline

◆ reset()

template<typename P_sourcetype >
void blitz::ReduceMinMax< P_sourcetype >::reset ( P_sourcetype  initialValue) const
inline

◆ result()

template<typename P_sourcetype >
T_resulttype blitz::ReduceMinMax< P_sourcetype >::result ( int  )
inline

Member Data Documentation

◆ minmax_

◆ needIndex

template<typename P_sourcetype >
const bool blitz::ReduceMinMax< P_sourcetype >::needIndex = false
static

◆ needInit

template<typename P_sourcetype >
const bool blitz::ReduceMinMax< P_sourcetype >::needInit = true
static

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