LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::meas::base::SincCoeffs< PixelT >::FuzzyCompare< T > Struct Template Reference

Public Member Functions

bool operator() (T x, T y) const
 
bool isEqual (T x, T y) const
 

Detailed Description

template<typename PixelT>
template<typename T>
struct lsst::meas::base::SincCoeffs< PixelT >::FuzzyCompare< T >

Definition at line 71 of file SincCoeffs.h.

Member Function Documentation

template<typename PixelT>
template<typename T >
bool lsst::meas::base::SincCoeffs< PixelT >::FuzzyCompare< T >::isEqual ( x,
y 
) const
inline

Definition at line 78 of file SincCoeffs.h.

78  {
79  return ::fabs(x - y) < std::numeric_limits<T>::epsilon();
80  }
int y
double x
template<typename PixelT>
template<typename T >
bool lsst::meas::base::SincCoeffs< PixelT >::FuzzyCompare< T >::operator() ( x,
y 
) const
inline

Definition at line 72 of file SincCoeffs.h.

72  {
73  if (isEqual(x, y)) {
74  return false;
75  }
76  return (x - y < 0) ? true : false;
77  }
int y
double x

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