1CURVD(3NCARG) NCAR GRAPHICS CURVD(3NCARG)
2
3
4
6 CURVD - derivatives for 1D functions.
7
9 FUNCTION CURVD (T, N, X, Y, YP, SIGMA)
10
11 This function calculates a derivative at a specified point using a
12 spline under tension. CURV1 must be called prior to calling CURVD, and
13 the values thus obtained used as input to CURVD. The derivative value
14 is returned.
15
17 T (real, input) The abscissa for which an interpolated func‐
18 tion value is desired.
19
20 N (integer, input) The number of input data values. (N > 1)
21
22 X (real, input) An array containing the abscissae for the
23 input function.
24
25 Y (real, input) An array containing the functional values of
26 the input data -- Y(K) is the functional value at X(K) for
27 K=1,N.
28
29 YP (real, input) Contains values for the second derivative (as
30 calculated by CURV1).
31
32 SIGMA (real, input) Tension factor. Values near zero result in a
33 cubic spline; large values (e.g. 50) result in nearly a
34 polygonal line. A typical value is 1.
35
37 CURVD returns the derivative value of the interpolated curve at the
38 specified point T.
39
41 To use CURVD, load the NCAR Graphics library ngmath.
42
44 curv1, fitgrid_params.
45
46 Complete documentation for Fitgrid is available at URL
47 http://ngwww.ucar.edu/ngdoc/ng/ngmath/fitgrid/fithome.html
48
50 Copyright (C) 2000
51 University Corporation for Atmospheric Research
52
53 The use of this Software is governed by a License Agreement.
54
55
56
57UNIX March 1998 CURVD(3NCARG)