Re: Finding hash key related to closest valueby hdb (Prior)
|on Mar 12, 2014 at 17:54 UTC||Need Help??|
Assuming that performance is not your main concern and that your data really is bell-shaped (in particular increasing up to the max, and then decreasing), the following should do the trick:
If you need the closest, you might want to check the neighbors of $keylo and $keyhi as well.