public class Histogram extends DoubleFV
values| Modifier | Constructor and Description |
|---|---|
protected |
Histogram(double[] data) |
|
Histogram(int nbins)
Construct a histogram with the given number of bins.
|
| Modifier and Type | Method and Description |
|---|---|
Histogram |
clone() |
Histogram |
combine(Histogram... hs)
Create a new histogram by concatenating this one with the given ones.
|
double |
max()
Compute the maximum value in the histogram
|
void |
normalise()
Normalise to unit length
|
asciiHeader, asDoubleFV, asDoubleVector, binaryHeader, compare, get, length, normaliseFV, normaliseFV, normaliseFV, normaliseFV, readASCII, readBinary, toString, writeASCII, writeBinarygetVectorpublic Histogram(int nbins)
nbins - number of binsprotected Histogram(double[] data)