HDK
|
Compression oracle based on relative difference. More...
#include <CreateNanoGrid.h>
Public Member Functions | |
RelDiff (float tolerance=-1.0f) | |
RelDiff (const RelDiff &)=default | |
~RelDiff ()=default | |
operator bool () const | |
void | setTolerance (float tolerance) |
float | getTolerance () const |
bool | operator() (float exact, float approx) const |
Return true if the approximate value is within the accepted relative error bounds of the exact value. More... | |
Compression oracle based on relative difference.
Definition at line 270 of file CreateNanoGrid.h.
|
inline |
Definition at line 275 of file CreateNanoGrid.h.
|
default |
|
default |
|
inline |
Definition at line 280 of file CreateNanoGrid.h.
|
inline |
Definition at line 278 of file CreateNanoGrid.h.
Return true if the approximate value is within the accepted relative error bounds of the exact value.
Required member method
Definition at line 285 of file CreateNanoGrid.h.
Definition at line 279 of file CreateNanoGrid.h.