edu.mit.util.stats
Class FastDCM

java.lang.Object
  extended by edu.mit.util.stats.FastDCM

public class FastDCM
extends Object


Constructor Summary
FastDCM(double prior, int W)
           
FastDCM(double prior, int W, boolean expect_ints)
           
FastDCM(double prior, int W, FastGamma gamma)
           
 
Method Summary
 FastGamma getGamma()
           
 double getPrior()
           
 double logDCM(double[] counts)
           
 double logDCM(int[] counts)
           
 void setGamma(FastGamma gamma)
           
 void setPrior(double prior)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastDCM

public FastDCM(double prior,
               int W)

FastDCM

public FastDCM(double prior,
               int W,
               boolean expect_ints)

FastDCM

public FastDCM(double prior,
               int W,
               FastGamma gamma)
Method Detail

logDCM

public double logDCM(double[] counts)

logDCM

public double logDCM(int[] counts)

setPrior

public void setPrior(double prior)

getPrior

public double getPrior()

setGamma

public void setGamma(FastGamma gamma)

getGamma

public FastGamma getGamma()


Copyright © 2008 MIT. All Rights Reserved.