edu.cmu.minorthird.util
Class MathUtil

java.lang.Object
  extended by edu.cmu.minorthird.util.MathUtil

public class MathUtil
extends java.lang.Object

Math utilities.


Nested Class Summary
static class MathUtil.Accumulator
          Accumulate a list of numbers, then report on mean, standard deviation, and other common statistics.
 
Constructor Summary
MathUtil()
           
 
Method Summary
static double abs(double x)
          Absolute value function.
static double logistic(double x)
          Logistic function.
static int sign(double x)
          Sign function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathUtil

public MathUtil()
Method Detail

sign

public static int sign(double x)
Sign function.


abs

public static double abs(double x)
Absolute value function.


logistic

public static double logistic(double x)
Logistic function.