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 FindInSortedArray | |||||||||
See also: FindInSortedVector, FindInSortedColumn, SortArray, FindInArray | |||||||||
FindInSortedArray |
|||||||||
The function FindInSortedArray searches the sorted 1-dimensional array for the element which is closest to Value and returns the index of the found element as the function value. The parameter Ascending indicates the sort order of the array elements (TRUE = ascending, FALSE = descending). The function returns the following error codes: ≥0 ... everything is OK, the returned number is the index of the closest element
|