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() |
This class has no properties.
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.
Returns the bin count that was used. |
|
Returns the bin width that was used. |
|
Returns the minimum value used |
|
Returns the maximum value used. |