Package picard.util
Class MathUtil.LogMath
- java.lang.Object
-
- picard.util.MathUtil.LogMath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLog_of_base()doublegetLogValue(double nonLogValue)Returns the log-representation of the provided decimal value.double[]getLogValue(double[] nonLogArray)Returns the log-representation of the provided decimal array.doublegetNonLogValue(double logValue)Returns the decimal representation of the provided log values.doublemean(double... logValues)Computes the mean of the provided log values.doubleproduct(double... logValues)Computes the sum of the provided log values.doublesum(double... logValues)Computes the sum of the provided log values.
-
-
-
Method Detail
-
getLog_of_base
public double getLog_of_base()
-
getNonLogValue
public double getNonLogValue(double logValue)
Returns the decimal representation of the provided log values.
-
getLogValue
public double getLogValue(double nonLogValue)
Returns the log-representation of the provided decimal value.
-
getLogValue
public double[] getLogValue(double[] nonLogArray)
Returns the log-representation of the provided decimal array.
-
mean
public double mean(double... logValues)
Computes the mean of the provided log values.
-
sum
public double sum(double... logValues)
Computes the sum of the provided log values.
-
product
public double product(double... logValues)
Computes the sum of the provided log values.
-
-