I'm using the following method:
IInterpolation ii = MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles(points, values);
It seems to work when I'm passing in lists that are less than about 700 items, but fails when I'm using lists that are greater than about 800 items. I'm trying to interpolate an elevation when given a volume.
The attached text file has the raw data (861 items) Ignore the first two columns. The third is the elevation and forth is the volume. When using this data I'm getting either negative values or values that exceed the maximum elevation in the set. If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.
Thanks
IInterpolation ii = MathNet.Numerics.Interpolation.Interpolate.RationalWithoutPoles(points, values);
It seems to work when I'm passing in lists that are less than about 700 items, but fails when I'm using lists that are greater than about 800 items. I'm trying to interpolate an elevation when given a volume.
The attached text file has the raw data (861 items) Ignore the first two columns. The third is the elevation and forth is the volume. When using this data I'm getting either negative values or values that exceed the maximum elevation in the set. If I reduce the same set, by not including the first 200 items, it provides what appears to be a reasonable answer.
Thanks