c_natgridd(3NCARG) | NCAR GRAPHICS | c_natgridd(3NCARG) |
c_natgrids - primary double precision C entry for natural neighbor gridding
double *c_natgridd(int, double [], double [], double [],
int, int, double [], double [], int *);
double *c_natgridd (npnts, x, y, z, numxout, numyout, xi, yi, ier);
c_natgridd returns a pointer to a linear array of data that is is the interpolated grid stored in row-major order. That is, if out is declared as
double *out;
and we set:
out = c_natgridd(numin, x, y, z, numxout, numyout, xo, yo, &ier);
then out[i*numyout+j] is the interpolated function value at coordinate point (xo[i],yo[j]) for 0 <= i < numxout and 0 <= j < numyout. The space for out is allocated internal to c_natgrids and is numxout*numyout double values in size.
To use c_natgridd, load the NCAR Graphics library ngmath.
natgrid, natgrid_params, c_nnseti, c_nngeti, c_nnsetrd, c_nngetrd, c_nnsetc, c_nngetc.
Complete documentation for Natgrid is available at URL
http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html
Copyright (C) 2000
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1997-1998 | UNIX |