Say I have a table A, representing the output for an input variable X=1.

Now say I also have a table B, representing the output for an input variable of X=2.

How would I create a patch that can interpolate between A and B (and so on with tables C, D, etc...) for any X (i.e. X = 1.5 would be halfway between tables A and ?