Open balarsen opened 9 years ago
My temptation is to create an interpolation structure. A first cut is.
struct { double inx, double iny, double current_x_ask, long len, double extra_info, long interpolate_type }
We then would point the input as inx, iny, len. Then as you call the routines you update current_x_ask (bad var name) and do whatever is useful for interpolate_type and store that in extra_info for the next call.
We should have an interpolation module. This can be done in a couple of ways:
Thoughts?