1c_ftcurvd(3NCARG) NCAR GRAPHICS c_ftcurvd(3NCARG)
2
3
4
6 c_ftcurvd - calculate derivatives
7
9 int c_ftcurvd (int, float [], float [], int, float [], float []);
10
12 int c_ftcurvd (n, xi, yi, m, xo, yo);
13
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 derivatives.
23
24 xo An array containing the abscissae for the output values.
25
26 yo An array containing the interpolated derivative values --
27 yo(k) is the functional derivative at xo(k) for k=0,n.
28
30 c_ftcurvd returns an error value as per:
31
32 = 0 -- no error.
33 = 1 -- if n is less than 2.
34 = 2 -- if X values are not strictly increasing.
35
37 c_ftcurvd is called after all of the desired values for control parame‐
38 ters have been set using the procedures c_ftseti, c_ftsetr, c_ftsetc.
39 Control parameters that apply to c_ftcurvd are: sig, sl1, sln, sf1.
40
42 To use c_ftcurvd, load the NCAR Graphics library ngmath.
43
45 fitgrid_params, c_ftseti, c_ftsetr, c_ftsetc.
46
47 Complete documentation for Fitgrid is available at URL
48 http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html
49
51 Copyright (C) 2000
52 University Corporation for Atmospheric Research
53
54 This documentation is free software; you can redistribute it and/or
55 modify it under the terms of the GNU General Public License as pub‐
56 lished by the Free Software Foundation; either version 2 of the
57 License, or (at your option) any later version.
58
59 This software is distributed in the hope that it will be useful, but
60 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
61 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
62 Public License for more details.
63
64 You should have received a copy of the GNU General Public License along
65 with this software; if not, write to the Free Software Foundation,
66 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
67
68
69
70
71UNIX March 1998 c_ftcurvd(3NCARG)