+ 1

local minimum

local minimum. maybe one of you understand what it is? the number that is larger than all its neighbors. for example, 3, 4, 5, 0, 7, 1. Is the local minimum only zero? or is 1 also a local minimum? and 3 too?

19th Apr 2020, 10:50 AM
shiryaeva
shiryaeva - avatar
3 Réponses
+ 2
This link can surely help you... (If you have an idea about local minima and Maxima in function, basic Maths, I assume) https://stackoverflow.com/questions/29608044/large-list-find-all-minima-of-list-JUMP_LINK__&&__python__&&__JUMP_LINK
19th Apr 2020, 10:57 AM
Arushi Singhania
Arushi Singhania - avatar
+ 1
The number is smaller than all its neighbours you mean...right? 3 has one neighbour This is 4 All neighbours are larger 3 is a local minimum.
19th Apr 2020, 11:25 AM
Oma Falk
Oma Falk - avatar
+ 1
it dawned on me
19th Apr 2020, 11:56 AM
shiryaeva
shiryaeva - avatar