#include <FWMath.h>
Static Public Member Functions | |
static double | mod (double dividend, double divisor) |
static double | div (double dividend, double divisor) |
static bool | close (double one, double two) |
static int | stepfunction (double i) |
static int | sign (double i) |
static int | round (double d) |
static double | max (double a, double b) |
static double | dBm2mW (double dBm) |
static double | torDist (double x1, double x2, double y1, double y2) |
This class contains all kind of mathematical support functions
|
Tests whether two doubles are close enough to be declared equal.
|
|
convert a dBm value into milli Watt |
|
Returns the result of a whole-numbered division. |
|
|
|
Returns the rest of a whole-numbered division. |
|
|
|
|
|
|
|
helper function, returns squared euclidean distance makes code less messy |