CppNoddy  0.92
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CppNoddy::absAdd_functor< _Type > Class Template Reference

A function object used to accumulate the absolute value of a container. More...

#include <Functors.h>

Public Member Functions

double operator() (double x, _Type y)
 

Detailed Description

template<typename _Type>
class CppNoddy::absAdd_functor< _Type >

A function object used to accumulate the absolute value of a container.

Definition at line 53 of file Functors.h.

Member Function Documentation

◆ operator()()

template<typename _Type >
double CppNoddy::absAdd_functor< _Type >::operator() ( double  x,
_Type  y 
)
inline

Definition at line 55 of file Functors.h.

55 {
56 return x + std::abs(y);
57 }

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

© 2012

R.E. Hewitt