edu.mit.util.stats
Class FastIntGamma

java.lang.Object
  extended by edu.mit.util.stats.FastIntGamma
All Implemented Interfaces:
FastGamma

public class FastIntGamma
extends Object
implements FastGamma


Constructor Summary
FastIntGamma(int maxval)
           
FastIntGamma(int maxval, double offset)
           
 
Method Summary
 double gamma(double p_in)
           
 double getOffset()
           
protected  void initialize(int maxval, double offset)
           
 double logGamma(double p_in)
           
 void setOffset(double offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastIntGamma

public FastIntGamma(int maxval)

FastIntGamma

public FastIntGamma(int maxval,
                    double offset)
Method Detail

initialize

protected void initialize(int maxval,
                          double offset)

logGamma

public double logGamma(double p_in)
Specified by:
logGamma in interface FastGamma

gamma

public double gamma(double p_in)
Specified by:
gamma in interface FastGamma

setOffset

public void setOffset(double offset)

getOffset

public double getOffset()


Copyright © 2008 MIT. All Rights Reserved.