You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.NearestMinimum Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.NearestMinimum Function

Find the nearest minumum.

Pascal
function NearestMinimum(const Data: TVec; var Index: integer): boolean; overload;

Converge to the nearest minimum of Data, if the start position is at Data[Index]. Returns the position of the found minimum in Index. The function returns True if a True minimum was found: Value[i-1] > Min[i] < Value[i+1]. The first and last sample can not be True minimums.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!