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

#include <reduce.h>

Collaboration diagram for blitz::ReduceProduct< P_sourcetype, P_resulttype >:
Collaboration graph

Public Types

typedef P_sourcetype T_sourcetype
 
typedef P_resulttype T_resulttype
 
typedef T_resulttype T_numtype
 

Public Member Functions

 ReduceProduct ()
 
bool operator() (const T_sourcetype &x, const int=0) const
 
T_resulttype result (const int) const
 
void reset () const
 

Static Public Member Functions

static const char * name ()
 

Static Public Attributes

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

Protected Attributes

T_resulttype product_
 

Member Typedef Documentation

◆ T_numtype

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef T_resulttype blitz::ReduceProduct< P_sourcetype, P_resulttype >::T_numtype

◆ T_resulttype

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef P_resulttype blitz::ReduceProduct< P_sourcetype, P_resulttype >::T_resulttype

◆ T_sourcetype

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef P_sourcetype blitz::ReduceProduct< P_sourcetype, P_resulttype >::T_sourcetype

Constructor & Destructor Documentation

◆ ReduceProduct()

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
blitz::ReduceProduct< P_sourcetype, P_resulttype >::ReduceProduct ( )
inline

Member Function Documentation

◆ name()

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
static const char * blitz::ReduceProduct< P_sourcetype, P_resulttype >::name ( )
inlinestatic

◆ operator()()

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

◆ reset()

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
void blitz::ReduceProduct< P_sourcetype, P_resulttype >::reset ( ) const
inline

◆ result()

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
T_resulttype blitz::ReduceProduct< P_sourcetype, P_resulttype >::result ( const int  ) const
inline

Member Data Documentation

◆ needIndex

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
const bool blitz::ReduceProduct< P_sourcetype, P_resulttype >::needIndex = false
static

◆ needInit

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
const bool blitz::ReduceProduct< P_sourcetype, P_resulttype >::needInit = false
static

◆ product_

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
T_resulttype blitz::ReduceProduct< P_sourcetype, P_resulttype >::product_
mutableprotected

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