diff options
Diffstat (limited to 'math/gsurfit/doc/gsacpts.hlp')
-rw-r--r-- | math/gsurfit/doc/gsacpts.hlp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/math/gsurfit/doc/gsacpts.hlp b/math/gsurfit/doc/gsacpts.hlp new file mode 100644 index 00000000..1e253c61 --- /dev/null +++ b/math/gsurfit/doc/gsacpts.hlp @@ -0,0 +1,56 @@ +.help gsacpts Aug85 "Gsurfit Package" +.ih +NAME +gsacpts -- accumulate an array of data points into the fit +.ih +SYNOPSIS +include <math/gsurfit.h> + +gsacpts (sf, x, y, z, weight, npts, wtflag) + +.nf +pointer sf # surface descriptor +real x[npts] # x values, xmin <= x <= xmax +real y[npts] # y values, ymin <= y <= ymax +real z[npts] # z values +real weight[npts] # array of weights +int npts # the number of data points +int wtflag # type of weighting +.fi +.ih +ARGUMENTS +.ls sf +Pointer to the surface descriptor structure. +.le +.ls x, y +Array of x and y values. +.le +.ls z +Array of data values. +.le +.ls weight +The weights assigned to the data points. +.le +.ls npts +The number of data points. +.le +.ls wtflag +Type of weighting. The options are WTS_USER and WTS_UNIFORM. If wtflag +equals WTS_USER the weight for each data point is supplied by the user. +If wtflag equals WTS_UNIFORM the routine sets the weight to 1. +The weight definitions are contained in the package header file gsurfit.h. +.le +.ih +DESCRIPTION +GSACCUM calculates the non-zero basis functions for the given x and +y values, computes the contribution of each data point to the normal +equations and sums that contribution into the appropriate arrays and +vectors. +.ih +NOTES +Checking for out of bounds x and y values and INDEF valued data points is +the responsibility of the calling program. +.ih +SEE ALSO +gsaccum, gsfit, gsrefit +.endhelp |