Sure, how about this: Given a set of x coordinates *x_1,...,x_m* and a set of y coordinates *y_1,...,y_n*, each in increasing order,
That should replace the following on the "2D introduction to interpolation" page ( https://www.gnu.org/software/gsl/manual/html_node/2D-Introduction-to-Interpolation.html ): Given two sets of equally spaced grid points: *x_1,...,x_m* with spacing *\delta x*, and *y_1,...,y_n* with spacing *\delta y*, The rest of the description ("...plus a set of function values....") can stay as is. :) David On Mon, Feb 8, 2016 at 8:28 PM Patrick Alken <[email protected]> wrote: > Hi David, > > Do you think you could write a new sentence or two to describe more > accurately what the manual should say? I'm still a little confused :-) I > can then just paste the new text into that section. > > Patrick > > On 02/08/2016 12:17 PM, David Zaslavsky wrote: > > Hi, > > > > I tried sending this out to gsl-discuss a while ago but it was never > > approved, so I'm trying again and cc'ing it to help-gsl just in case. > > > > Someone pointed out that the documentation for GSL 2.1 says that the 2D > > interpolation requires equally spaced grids, but it actually doesn't. Or > > to be more precise, it doesn't require that x[i] - x[i-1] == x[i+1] - > > x[i] (and likewise for y), which is what most people would take "equally > > spaced" to mean (I think). Could that be updated? > > > > I can try to prepare a patch against the latest git revision, if that > > would help. > > > > reference: https://github.com/diazona/interp2d/issues/8 > > > > :) David > >
