oomph::AbsCmp< T > Class Template Reference

#include <oomph_utilities.h>

Public Member Functions

bool operator() (const T &x, const T &y) const
 Comparison. Are the values identical or not? More...
 

Detailed Description

template<class T>
class oomph::AbsCmp< T >

Function-type-object to perform absolute comparison of objects. Apparently this inlines better

Member Function Documentation

◆ operator()()

template<class T >
bool oomph::AbsCmp< T >::operator() ( const T x,
const T y 
) const
inline

Comparison. Are the values identical or not?

174  {
175  return std::abs(x) < std::abs(y);
176  }
AnnoyingScalar abs(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:135
Scalar * y
Definition: level1_cplx_impl.h:128
list x
Definition: plotDoE.py:28

References abs(), plotDoE::x, and y.


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