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

NAME

6       c_ftcurv - 1D interpolation for non-periodic functions
7

FUNCTION PROTOTYPE

9       int c_ftcurv (int, float [], float [], int, float [], float []);
10

SYNOPSIS

12       int c_ftcurv (n, xi, yi, m, xo, yo);
13

DESCRIPTION

15       n           The number of input data points. (n > 1)
16
17       xi          An array containing the abscissae for the input function.
18
19       yi          An  array  containing  the  functional  values of the input
20                   function -- y(k) is the functional value at x(k) for k=0,n.
21
22       m           The number of desired interpolated values.
23
24       xo          An array containing the abscissae for the interpolated val‐
25                   ues.
26
27       yo          An  array  containing the interpolated functional values --
28                   yo(k) is the functional value at xo(k) for k=0,n.
29

RETURN VALUE

31       c_ftcurv returns an error value as per:
32
33       = 0 -- no error.
34       = 1 -- if n is less than 2.
35       = 2 -- if X values are not strictly increasing.
36

USAGE

38       c_ftcurv is called after all of the desired values for control  parame‐
39       ters  have  been set using the procedures c_ftseti, c_ftsetr, c_ftsetc.
40       Control parameters that apply to c_ftcurv are: sig, sl1, sln, sf1.
41

ACCESS

43       To use c_ftcurv, load the NCAR Graphics library ngmath.
44

SEE ALSO

46       fitgrid_params, c_ftseti, c_ftsetr, c_ftsetc.
47
48       Complete documentation for Fitgrid is available at URL
49       http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html
50
52       Copyright (C) 2000
53       University Corporation for Atmospheric Research
54
55       The use of this Software is governed by a License Agreement.
56
57
58
59UNIX                              March 1998                  c_ftcurv(3NCARG)
Impressum