The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_math1
Class: None
Declaration: function HistoBinRef (XValue, FirstBin, BinWidth: double; var resid: double): double;

The function HistoBinRef calculates the reference value of the corresponding bin of a histogram for a particular value XValue along the x axis. The histogram bin boundaries are fully defined by the parameters FirstBin and BinWidth. The function returns the reference value as a function result and the variable parameter resid which is the difference between the x value and the reference value.

Last Update: 2017-Jun-09