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....



CountValues


Unit: SDL_matrix
Class: TMatrix, TIntMatrix
Declaration: function CountValues (LowCol, HighCol, LowRow, HighRow: integer; RangeLow, RangeHigh: integer): integer;{ class TIntMatrix }
function CountValues (LowCol, HighCol, LowRow, HighRow: integer; RangeLow, RangeHigh: double): integer;{ class TMatrix }

The method CountValues returns the number of values which fall into the interval given by the parameters RangeLow and RangeHigh. The matrix is searched within the region specified by LowCol, HighCol, LowRow and HighRow.

Hint: Setting both the low and high parameter of a dimension (i.e. LowCol and HighCol) to zero values forces the method to use all elements of that dimension.



Last Update: 2023-Feb-06