This class serves to sample a continuous random variable, and to ‘bin’ it. It divides a given range of real values into a series of equal intervals, and counts amounts of samples falling into each interval. The histogram keeps track of the total number of the sampled values, as well as of the lost samples that lie outside the chosen range.
||Signature : () -> None Reset all histogram values to 0|
||Signature : (int n) -> float Get position of bin’s center|
||Read-only access to the data storage|
||Return boundaries of the histogram|
||Get number of accumulated samples|
||Get number of discarded samples|