Examples:
Modules:
Links:
Returns the index of the element in array closest to value
array
value
>>> int(find_nearest_index([1,7,6,2] , 1.9)) 3