public class RegressionUtil
extends java.lang.Object
Constructor and Description |
---|
RegressionUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
WithinTolerance(double dbl1,
double dbl2)
Compares and checks if the two input numbers fall within a specified tolerance
|
static boolean |
WithinTolerance(double dbl1,
double dbl2,
double dblAbsoluteTolerance,
double dblRelativeTolerance)
Compares and checks if the two input numbers fall within a specified tolerance
|
public static final boolean WithinTolerance(double dbl1, double dbl2, double dblAbsoluteTolerance, double dblRelativeTolerance)
dbl1
- Number #1dbl2
- Number #2dblAbsoluteTolerance
- Absolute TolerancedblRelativeTolerance
- Relative Tolerancepublic static final boolean WithinTolerance(double dbl1, double dbl2)
dbl1
- Number #1dbl2
- Number #2