edu.umd.cloud9.math
Class LogMath

java.lang.Object
  extended by edu.umd.cloud9.math.LogMath

public class LogMath
extends Object


Constructor Summary
LogMath()
           
 
Method Summary
static double add(double a, double b)
           
static float add(float a, float b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogMath

public LogMath()
Method Detail

add

public static double add(double a,
                         double b)
Parameters:
a - log a, in natural base e
b - log b, in natural base e
Returns:
log(a + b), in natural base e

add

public static float add(float a,
                        float b)
Parameters:
a - log a, in natural base e
b - log b, in natural base e
Returns:
log(a + b), in natural base e