@Deprecated public final class MathUtils extends Object
Modifier and Type | Field and Description |
---|---|
static double |
EPSILON
Deprecated.
Values smaller than this EPSILON should be treated as zero.
|
Modifier and Type | Method and Description |
---|---|
static void |
adjustRemainders(double[] list,
double initialBias)
Deprecated.
Adjusts the list of double values to rounded values with the same sum.
|
static double |
findAndAdjustMaxRemainder(double[] list)
Deprecated.
|
static double |
findAndAdjustMinRemainder(double[] list)
Deprecated.
|
static boolean |
isInteger(double value)
Deprecated.
|
static boolean |
isNotInteger(double value)
Deprecated.
|
static boolean |
isNotZero(double factor)
Deprecated.
|
static boolean |
isZero(double factor)
Deprecated.
|
static double |
remainder(double v)
Deprecated.
|
public static final double EPSILON
public static void adjustRemainders(double[] list, double initialBias)
public static double findAndAdjustMaxRemainder(double[] list)
public static double findAndAdjustMinRemainder(double[] list)
public static double remainder(double v)
public static boolean isZero(double factor)
public static boolean isNotZero(double factor)
public static boolean isInteger(double value)
public static boolean isNotInteger(double value)
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.