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.... 
Home MathPack Vector Methods MinMax  
See also: MeanVar, SkewKurt, Quartiles, Sum, MaxArray, MinArray, MinMaxArray  
MinMax 

The method MinMax calculates the minimum and the maximum value of the vector elements within a specified range. The range of the vector elements which are used for the calculation is determined by the parameters LowElem and HighElem. If any of these parameters receives an invalid value, this value is automatically adjusted to the most appropriate boundary (either 1 or NrOfElems). Setting both the LowElem and HighElem parameter to zero forces the method to process the entire range of vector elements. Note, that in the case of the method MinMax the vector is not considered as a vector in its usual sense but merely as a collection of numbers. The lowest and the highest value of the selected data are returned in the variable parameters Minimum and Maximum. Version [2] returns in addition to the extreme values also the indices MinIx and MaxIx of the extreme values.
