View Javadoc

    1   package baseCode.math.distribution;
    2
    3   /***
    4    * An interface that describes a class that can produce values from a particular probability density.
    5    *
    6    * <hr>
    7    * <p>Copyright (c) 2004 Columbia University
    8    * @author pavlidis
    9    * @version $Id: DensityGenerator.java,v 1.1 2004/12/31 01:14:48 pavlidis Exp $
    10   */
    11  public interface DensityGenerator {
    12
    13     /***
    14      *
    15      * @param value
    16      * @return The value of the density at x
    17      */
    18     public double density(double x);
    19
    20  }