$table_model() and closest point "D" interpolation

From: Cary R. <cygcary@yahoo.com>
Date: Thu May 05 2011 - 16:07:24 PDT

It's fairly obvious how closest point interpolation should work in general, but
the standard does not specify what should be done for a tie (you're exactly half
way between two points). For example if I have points at 1.0 and 2.0 which one
should be used for an independent value of 1.5?

My first assumption would be to pick round away from zero since that matches
what is done when converting a real to an integer. Doing this gives the
consistent rule, when breaking a tie select the value/element farthest from
zero.

I also want to publicly thank Dave for his answers to my previous $table_model()
questions.

Regards,

Cary

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu May 5 16:07:54 2011

This archive was generated by hypermail 2.1.8 : Thu May 05 2011 - 16:08:07 PDT