Jan-15-2023, 07:11 AM
If your problem is "nearest" match to a list of numbers,
you can easily write a small example program to demonstrate the problem .
While doing that, you may find that the python module "bisect"
comes very close to what you want, if I understand your question correctly.
Paul
you can easily write a small example program to demonstrate the problem .
While doing that, you may find that the python module "bisect"
comes very close to what you want, if I understand your question correctly.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.