npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::ComplexComparesAbs< T > Struct Template Reference

#include <ComplexComparesAbs.hh>

Static Public Member Functions

static bool less (const T &l, const T &r)
 
static bool more (const T &l, const T &r)
 

Detailed Description

template<class T>
struct npstat::ComplexComparesAbs< T >

This template compares two numbers. For simple numeric types (int, double, etc) the numbers themselves are compared while for std::complex<...> types absolute values are compared.


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