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

A function object used to accumulate the square of 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::absSquareAdd_functor< _Type >

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

Definition at line 63 of file Functors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 65 of file Functors.h.

65 {
66 return x + std::pow(std::abs(y), 2.);
67 }

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

© 2012

R.E. Hewitt