NAME
c_ftkurvpd - interpolation and derivative calculation for closed parametric curvesFUNCTION PROTOTYPE
int c_ftkurvpd (int, float [], float [], int, float [],float [], float [], float [], float [],
float [], float []);
SYNOPSIS
int c_ftkurvpd (n, xi, yi, m, t, xo, yo, xd, yd, xdd, ydd);DESCRIPTION
- n
- The number of input data points. (n > 1)
- xi
- An array containing the abscissae for the input function.
- yi
- An array containing the functional values (y[k] is the functional value at x[k] for k=0,n).
- m
- The number of desired interpolated points.
- t
- Contains an array of values for the parameter mapping onto the interpolated curve. Any interval [tt,tt+1.] maps onto the entire curve.
- xo
- An array containing the X values for the interpolated points. t[k] maps to (xo[k],yo[k]) for k=0,n-1.
- yo
- An array containing the Y values for the interpolated points.
- xd
- Contains the first derivatives of the X component with respect to t.
- yd
- Contains the first derivatives of the Y component with respect to t.
- xdd
- Contains the second derivatives of the X component with respect to t.
- ydd
- Contains the second derivatives of the Y component with respect to t.
RETURN VALUE
c_ftkurvpd returns an error value as per:USAGE
This procedure behaves like ftkurvp except that in addition it returns the first and second derivatives of the component functions in the parameterization.ACCESS
To use c_ftkurvpd, load the NCAR Graphics library ngmath.SEE ALSO
fitgrid_params, c_ftseti, c_ftsetr, c_ftsetc.COPYRIGHT
Copyright (C) 2000March 1998 | UNIX |