Package ucar.unidata.util
Class SpecialMathFunction
- java.lang.Object
-
- ucar.unidata.util.SpecialMathFunction
-
public final class SpecialMathFunction extends Object
Special Math functions. Recoded from online sources for licensing purposes. caron 6/22/2012
-
-
Constructor Summary
Constructors Constructor Description SpecialMathFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleatanh(double x)static doublelog2(double x)Get the log base 2 of a number
-
-
-
Method Detail
-
log2
public static double log2(double x) throws ArithmeticExceptionGet the log base 2 of a number- Parameters:
x- a double value- Returns:
- The log2 of x
- Throws:
ArithmeticException- if (x < 0)
-
atanh
public static double atanh(double x) throws ArithmeticException- Throws:
ArithmeticException
-
-