FindExact
Declaration: | TVector.FindExact (LowElem, HighElem, Value: double): integer; |
The method FindExact searches and compares all elements of the vector to the value specified by the parameter Value and returns the index of the found element. The search range is specified by the parameters LowElem and HighElem. If an exact match cannot be found a zero value is returned. Please note that FindExact may not work correctly for values which are slightly off the intended value due to rounding effects at the resolution limit of floating point numbers.
|
Hint: |
Setting both parameters LowElem and HighElem to zero values forces a search through all vector elements. |
|