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



Dichotomize


Unit: SDL_matrix
Class: TMatrix, TIntMatrix
Declaration: function Dichotomize (Threshold: double; var ResultArray: TBool2DArray): integer; { class TMatrix }
function Dichotomize (Threshold: double; var ResultArray: TBool2DArray): integer; { class TIntMatrix }

The function Dichotomize compares the values of the matrix to the threshold Threshold and fills the array ResultArray with the result of the comparison. TRUE values will be stored in ResultArray for all matrix cells whose values exceed the threshold. The size of the array ResultArray will be automatically adjusted to fit the size of the matrix.



Last Update: 2017-Okt-29