Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Static Public Attributes
Accumulator Struct Reference

Public Member Functions

 Accumulator (int, int)
 
conv_to_T< Y > operator() (const Y &x, const Y &y)
 
 Accumulator (int, int)
 
conv_to_T< UserClass > operator() (const UserClass &x, const UserClass &y)
 
 Accumulator (int, int)
 
conv_to_T< UserClass > operator() (const UserClass &x, const UserClass &y)
 
 Accumulator (int, int)
 
conv_to_T< UserClass > operator() (const UserClass &x, const UserClass &y)
 

Static Public Attributes

static std::size_t funcalls_
 

Detailed Description

Definition at line 169 of file 26.accumulate.cpp.

Constructor & Destructor Documentation

◆ Accumulator() [1/4]

Accumulator::Accumulator ( int  ,
int   
)
inline

Definition at line 175 of file 26.accumulate.cpp.

◆ Accumulator() [2/4]

Accumulator::Accumulator ( int  ,
int   
)
inline

Definition at line 116 of file 26.adjacent.diff.cpp.

◆ Accumulator() [3/4]

Accumulator::Accumulator ( int  ,
int   
)
inline

Definition at line 126 of file 26.inner.product.cpp.

◆ Accumulator() [4/4]

Accumulator::Accumulator ( int  ,
int   
)
inline

Definition at line 115 of file 26.partial.sum.cpp.

Member Function Documentation

◆ operator()() [1/4]

conv_to_T< UserClass > Accumulator::operator() ( const UserClass &  x,
const UserClass &  y 
)
inline

Definition at line 121 of file 26.adjacent.diff.cpp.

◆ operator()() [2/4]

conv_to_T< UserClass > Accumulator::operator() ( const UserClass &  x,
const UserClass &  y 
)
inline

Definition at line 131 of file 26.inner.product.cpp.

◆ operator()() [3/4]

conv_to_T< UserClass > Accumulator::operator() ( const UserClass &  x,
const UserClass &  y 
)
inline

Definition at line 120 of file 26.partial.sum.cpp.

◆ operator()() [4/4]

conv_to_T< Y > Accumulator::operator() ( const Y &  x,
const Y &  y 
)
inline

Definition at line 180 of file 26.accumulate.cpp.

Field Documentation

◆ funcalls_

std::size_t Accumulator::funcalls_
static

Definition at line 171 of file 26.accumulate.cpp.


The documentation for this struct was generated from the following files: