int NearestMinimum(TVec *Data, const int StartIndex);
Find the nearest minumum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Data | TVec * | |
| 2 | StartIndex | const int |
Remarks:
Converge to the nearest minimum in Data, if the start position is at Data[StartIndex]. Returns the position of the found minimum: Data[i-1] > Data[i] < Data[i+1].
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler