Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

meapsoft.BasicHist Class Reference

List of all members.

Detailed Description

A simple histogram class to count the frequency of values of a parameter of interest.

Definition at line 29 of file BasicHist.java.

Public Methods

 BasicHist (int numBins, double lo, double hi)
 The constructor will create an array of a given number of bins.

void add (double x)
 Add an entry to a bin.

void clear ()
 Clear the histogram bins.

int getValue (int bin)
 Provide access to the bin values.


Constructor & Destructor Documentation

meapsoft.BasicHist.BasicHist int    numBins,
double    lo,
double    hi
[inline]
 

The constructor will create an array of a given number of bins.

The range of the histogram given by the upper and lower limt values.

Definition at line 44 of file BasicHist.java.


Member Function Documentation

void meapsoft.BasicHist.add double    x [inline]
 

Add an entry to a bin.

Include if value is in the range lo <= x < hi

Definition at line 59 of file BasicHist.java.

void meapsoft.BasicHist.clear   [inline]
 

Clear the histogram bins.

*

Definition at line 75 of file BasicHist.java.

int meapsoft.BasicHist.getValue int    bin [inline]
 

Provide access to the bin values.

*

Definition at line 84 of file BasicHist.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:27 2007 for MEAPsoft by doxygen1.2.18