public final class BinaryRelations extends Object
Constructor and Description |
---|
BinaryRelations() |
Modifier and Type | Method and Description |
---|---|
static double |
eq(double a,
double b)
Equality relation.
|
static double |
geq(double a,
double b)
Greater or equal relation.
|
static double |
getEpsilon()
Returns current epsilon value.
|
static double |
gt(double a,
double b)
Greater than relation.
|
static double |
leq(double a,
double b)
Lower or equal relation.
|
static double |
lt(double a,
double b)
Lower than relation.
|
static double |
neq(double a,
double b)
Inequality relation.
|
public static final double getEpsilon()
public static final double eq(double a, double b)
a
- the a number (a = b)b
- the b number (a = b)public static final double neq(double a, double b)
a
- the a number (a <> b)b
- the b number (a <> b)public static final double lt(double a, double b)
a
- the a number (a < b)b
- the b number (a < b)public static final double gt(double a, double b)
a
- the a number (a > b)b
- the b number (a > b)public static final double leq(double a, double b)
a
- the a number (a <= b)b
- the b number (a <= b)public static final double geq(double a, double b)
a
- the a number (a >= b)b
- the b number (a >= b)