1c_ftcurvp(3NCARG) NCAR GRAPHICS c_ftcurvp(3NCARG)
2
3
4
6 c_ftcurvp - 1D interpolation for periodic functions
7
9 int c_ftcurvp (int, float [], float [], float, int, float [], float
10 []);
11
13 int c_ftcurvp (n, xi, yi, p, m, xo, yo);
14
16 n The number of input data points. (n > 1)
17
18 xi An array containing the abscissae for the input function.
19
20 yi An array containing the input functional values (y(k) is
21 the functional value at x(k) for k=0,n).
22
23 p The period of the function; p must not be less than xi[n-1]
24 - xi[0].
25
26 m The number of desired interpolated points.
27
28 xo An array containing the abscissae for the interpolated val‐
29 ues.
30
31 yo An array containing the interpolated functional values
32 (yo(k) is the functional value at xo(k) for k=0,n).
33
35 c_ftcurvp returns an error value as per:
36
37 = 0 -- no error.
38 = 1 -- if n is less than 2.
39 = 2 -- if the period is strictly less than the span of the abscissae.
40
42 c_ftcurvp is called after all of the desired values for control parame‐
43 ters have been set using the procedures c_ftseti, c_ftsetr, c_ftsetc.
44 Control parameters that apply to c_ftcurvp are: sig.
45
47 To use c_ftcurvp, load the NCAR Graphics library ngmath.
48
50 fitgrid_params, c_ftseti, c_ftsetr, c_ftsetc.
51
52 Complete documentation for Fitgrid is available at URL
53 http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html
54
56 Copyright (C) 2000
57 University Corporation for Atmospheric Research
58
59 The use of this Software is governed by a License Agreement.
60
61
62
63UNIX March 1998 c_ftcurvp(3NCARG)