1c_ftcurvp(3NCARG)                NCAR GRAPHICS               c_ftcurvp(3NCARG)
2
3
4

NAME

6       c_ftcurvp - 1D interpolation for periodic functions
7

FUNCTION PROTOTYPE

9       int  c_ftcurvp  (int,  float  [], float [], float, int, float [], float
10       []);
11

SYNOPSIS

13       int c_ftcurvp (n, xi, yi, p, m, xo, yo);
14

DESCRIPTION

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

RETURN VALUE

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

USAGE

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

ACCESS

47       To use c_ftcurvp, load the NCAR Graphics library ngmath.
48

SEE ALSO

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       This documentation is free software; you  can  redistribute  it  and/or
60       modify  it  under  the  terms of the GNU General Public License as pub‐
61       lished by the  Free  Software  Foundation;  either  version  2  of  the
62       License, or (at your option) any later version.
63
64       This  software  is  distributed in the hope that it will be useful, but
65       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
66       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
67       Public License for more details.
68
69       You should have received a copy of the GNU General Public License along
70       with  this  software;  if  not,  write to the Free Software Foundation,
71       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
72
73
74
75
76UNIX                              March 1998                 c_ftcurvp(3NCARG)
Impressum