find_first_local_max

Lookup for the first local maximum (a value greater than the ones of its neighbors).

Namespace: dsp

Prototype

int find_first_local_max(const Vector<T> &x)