meshi.util.histogram
Class Histogram
java.lang.Object
SortableMeshiList
meshi.util.histogram.Histogram
public class Histogram
- extends SortableMeshiList
|
Constructor Summary |
Histogram(double low,
double high,
int n)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lowBound
private double lowBound
highBound
private double highBound
nBins
private int nBins
histFactor
private double histFactor
belowLow
private int belowLow
aboveHigh
private int aboveHigh
sum
private int sum
Histogram
public Histogram(double low,
double high,
int n)
pos
private int pos(double x)
centerOfBin
private double centerOfBin(int bin)
event
public void event(double x)
HistogramBinAt
public HistogramBin HistogramBinAt(int pos)
HistogramBinAt
public HistogramBin HistogramBinAt(double x)
lowBound
public double lowBound()
highBound
public double highBound()
nBins
public int nBins()
highestPeak
public HistogramBin highestPeak()
print
public void print()
sortable
public boolean sortable()
sum
public double sum()
representativesIterator
public java.util.Iterator representativesIterator(double fractionThreshold)
representative
public HistogramBin representative(double fraction)