COMBINATORIAL_BLAS  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes
ErrorTolerantEqual< T > Struct Template Reference

Fine if either absolute or relative error is small. More...

#include <Compare.h>

List of all members.

Public Member Functions

 ErrorTolerantEqual (const T &myepsilon)
bool operator() (const T &a, const T &b) const

Public Attributes

epsilon

Detailed Description

template<class T>
struct ErrorTolerantEqual< T >

Fine if either absolute or relative error is small.

Definition at line 38 of file Compare.h.


Constructor & Destructor Documentation

template<class T>
ErrorTolerantEqual< T >::ErrorTolerantEqual ( const T &  myepsilon)
inline

Definition at line 41 of file Compare.h.


Member Function Documentation

template<class T>
bool ErrorTolerantEqual< T >::operator() ( const T &  a,
const T &  b 
) const
inline

Definition at line 42 of file Compare.h.


Member Data Documentation

template<class T>
T ErrorTolerantEqual< T >::epsilon

Definition at line 52 of file Compare.h.


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