Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Interpolating an arbitrary function

Name: Anonymous 2008-03-22 18:28

Consider http://img521.imageshack.us/img521/369/chartov2.png

Function f(n,x) is numerically defined for specific values of x (the points) for specific values of n (the dotted lines connecting them).  Some of these values are coincident (on the chart, the right-most values of f(2) and f(3) in this case).  This is monotonic increasing with respect to both n and x.  It models a physical scenario, so parameters n and x are continuous, as is the range of f. 

Where n is one of the prior-known values and x is not, linear interpolation will suffice, similarly when x is prior-known and n is not.  But when both n and x are between their respective defined values, how to interpolate?

Ultimately, I am looking for a way to collate such a series of data, such that from the dataset I can calculate e.g. f(30,0.5).  No particular preference of language, an algorithm will do.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List