The histogram bin parameters may be defined, or determined from the first n input values. They can be fed individually, or in the form of an Array. If the actual nr of input values is less than n when the histogram is interrogated in some way, the bin parameters will be determined from what is available. Constructors and destructor. Constructors and destructor.
Calculation takes into account the spurious input values, i.e. values that fell outside the bins.
It can be used to obtain statistics of the input values. The return value is the nr of histogram bins, and is invalid if the number is zero. Accumulate a single value into the histogram. Definition of histogram bins with given parameters.