| 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 BasePack DStruct Procedures and Functions IndexOfNearestArrayValue |
|||||||||
IndexOfNearestArrayValue |
|||||||||
The function IndexOfNearestArrayValue finds the index of the array element of the array ArrOfValues which is closest to the value of the parameter Value. Since the parameter ArrOfValues is passed as an open array, the returned index is relative to the lowest actual index. Thus you have to add the value of the lowest array index in order to obtain the correct index.
|
|||||||||