Find the nearest peak.
function NearestMaximum(const Data: TVec; var Index: integer): boolean; overload;
Converge to the nearest peak of Data, if the start position is at Data[Index]. Returns the position of the found peak in Index. The function returns True if a True maximum was found: Value[i-1] < Max[i] > Value[i+1]. The first and last sample can not be True maximums.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|