NAME
c_natgrids - primary C entry for natural neighbor griddingFUNCTION PROTOTYPE
float *c_natgrids(int, float [], float [], float [],int, int, float [], float [], int *);
SYNOPSIS
float *c_natgrids (npnts, x, y, z, numxout, numyout, xi, yi, ier);DESCRIPTION
- npnts
- The number of input data points. (npnts > 3).
- x
- An array containing the x coordinates of the input data points.
- y
- An array containing the y coordinates of the input data points.
- z
- An array containing the functional values of the input data points. That is, z[m] is the value of the input function at coordinate (x[m],y[m]), for 0 <= m < npnts.
- numxout
- The number of x values in the output grid.
- numyout
- The number of y values in the output grid.
- xi
- An array of dimension numxout containing the x coordinates of the output data grid. The values in xi must be increasing, but need not be equally spaced.
- yi
- An array of dimension numyout containing the y coordinates of the output data grid. The values in yi must be increasing, but need not be equally spaced.
- ier
- An error value. If *ier is returned as 0, then no errors were detected. If *ier is non-zero, then refer to the man page for natgrid_errors for details.
USAGE
c_natgrids returns a pointer to a linear array of data that is the interpolated grid stored in row-major order. That is, if out is declared asout = c_natgrids(numin, x, y, z, numxout, numyout, xo, yo, &ier);
ACCESS
To use c_natgrids, load the NCAR Graphics library ngmath.SEE ALSO
natgrid, natgrid_params, c_nnseti, c_nngeti, c_nnsetr, c_nngetr, c_nnsetc, c_nngetc.COPYRIGHT
Copyright (C) 2000March 1997-1998 | UNIX |