CHistogram:Class Description
The CHistogram class is used to compute the frequency distribution, or "histogram", of an array of values. This class provides methods for choosing the binning strategy and for computing the histogram.
Construction |
Object = CHistogram:new() |
Destruction |
Object:delete() |
Returns the histogram of an array. This function uses the CHistogram class internally but does not provide access to it. |
Creates a new instance of a CHistogram object. |
|
Deletes the instance of the CHistogram object. |
Calculates the histogram using current binning parameters. |
|
Configures the histogram to prioritize the bin width. |
|
Configures the histogram to prioritize the number of bins. |
|
Sets the binning to automatically compute binning parameters. This is the default. |
|
Allows faster computation when the data are correlated rather than randomly ordered. |
These methods return the actual binning values that were used for auto binning mode.
The bin count that was used. |
|
The bin width that was used. |
|
The minimum value used |
|
The maximum value used. |