I have a 1D array of values which is supposed to be monotonic (let's say decreasing), but there are random regions where the value increases with index.I have a 1D array of values which is supposed t
I have a 1D array of values which is supposed to be monotonic (let's say decreasing), but there are random regions where the value increases with index.I have a 1D array of values which is supposed t