It seems that #61 and #50 are similar
ToheartZhang opened this issue · 4 comments
ToheartZhang commented
- Find the nearest value from a given value in an array (★★☆)
- How to find the closest value (to a given scalar) in a vector? (★★☆)
rougier commented
You're right. We should merge them and find a new question for 61. Maybe something like find the 3 nearest values and we could use partial ordering to speed things up.
ToheartZhang commented
You're right. We should merge them and find a new question for 61. Maybe something like find the 3 nearest values and we could use partial ordering to speed things up.
Thx for replying!
rougier commented
Do you want to write the new 61 ?
ToheartZhang commented
Do you want to write the new 61 ?
Sure, I'll try to make a pull request.