Class ArithmeticUtils
java.lang.Object
com.walkfares.odsl.conversion.scale.ArithmeticUtils
public class ArithmeticUtils extends Object
-
Constructor Summary
Constructors Constructor Description ArithmeticUtils()
-
Method Summary
Modifier and Type Method Description static double
add(double a, double b)
static double
count(double a, double b)
static TimeValue
distave(UTCDate date, double value, double pvalue, int item, int count, TimeSeriesDistribution dist)
static TimeValue
distsum(UTCDate date, double value, double pvalue, int item, int count, TimeSeriesDistribution dist)
static double
high(double a, double b)
static double
low(double a, double b)
-
Constructor Details
-
ArithmeticUtils
public ArithmeticUtils()
-
-
Method Details
-
add
public static double add(double a, double b) -
count
public static double count(double a, double b) -
high
public static double high(double a, double b) -
low
public static double low(double a, double b) -
distsum
public static TimeValue distsum(UTCDate date, double value, double pvalue, int item, int count, TimeSeriesDistribution dist) -
distave
public static TimeValue distave(UTCDate date, double value, double pvalue, int item, int count, TimeSeriesDistribution dist)
-