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 OpenArrays Procedures and Functions DichotomizeArray | |||||||
See also: DiscretizeArray, BoolToNumArray | |||||||
DichotomizeArray |
|||||||
The function DichotomizeArray compares the values of the array Arr to the threshold Threshold and fills the array Res with the result of the comparison. TRUE values will be stored in Res for all array cells whose values exceed the threshold (versions [1], [3] and [5]). Versions [2], [4] and [6] allow to define an interval instead of a threshold. All values which fall into the interval specified by the parameters Thresh1 and Thresh2 result in TRUE values in the Res array. The size of the array Res will be automatically adjusted to fit the size of the array. The function returns the following error codes: 0 ... everything is OK |