Package jcckit.util
Class Util
java.lang.Object
jcckit.util.Util
Collection of static utility methods.
-
Method Summary
-
Method Details
-
log
public static double log(double x, boolean logScale) Returns the natural logarithm of the specified number if logScale is true.- Returns:
- x if logScale == false.
-
exp
public static double exp(double x, boolean logScale) Returns the exponential function of the specified number if logScale is true.- Returns:
- x if logScale == false.
-