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_vector
Class: TVector
Declaration: procedure QNormalize (RefQuant: double; var Median, QuantDiff: double);

The method QNormalize normalizes the vector elements by first substracting the median of all elements and then by dividing the subtraction results by the difference of the median and the percentile defined by the parameter RefQuant. This means that all elements of the vector are shifted and scaled in a way that the vector elements exhibit a median of zero and a RefQuant-percentile of one.

The median and the difference between the median and percentile before the normalisation are returned in the variable parameters Median and QuantDiff.

Last Update: 2015-May-29