Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## baseCode.math.distribution
Class UniformDensityComputer

    java.lang.Object
      baseCode.math.distribution.UniformDensityComputer

All Implemented Interfaces:
  DensityGenerator

public class UniformDensityComputer
extends java.lang.Object
implements DensityGenerator

Copyright (c) 2004 Columbia University

Version:
  $Id: UniformDensityComputer.java,v 1.1 2004/12/31 01:14:48 pavlidis Exp $
Author:
  pavlidis

Constructor Summary
`UniformDensityComputer()` Create a UniformDensityComputer where the density is defined over the unit inteval [0,1].
`UniformDensityComputer(double min, double max)` Create a UniformDensityComputer where the density is defined over the interval given

Method Summary
`double` | `density(double x)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UniformDensityComputer

    public UniformDensityComputer()

  Create a UniformDensityComputer where the density is defined over the unit inteval [0,1].

### UniformDensityComputer

    public UniformDensityComputer(double min,
                                  double max)

  Create a UniformDensityComputer where the density is defined over the interval given

Parameters:
  `min` -
  `max` -

Method Detail

### density

    public double density(double x)

  Specified by:
    `density` in interface `DensityGenerator`
  Returns:
    The value of the density at x

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2005 Columbia University. All Rights Reserved.