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

NAME

6       CURVI - integrate a spline curve
7

SYNOPSIS

9       FUNCTION CURVI (XL, XU, N, X, Y, YP, SIGMA)
10
11       This  function  calculates  an  integral  between two specified limits.
12       CURV1 must be called prior  to  calling  CURVI,  and  the  values  thus
13       obtained  used  as  input  to  CURVI.   The  value  of  the integral is
14       returned.
15

DESCRIPTION

17       XL          (real, input) The lower limit of the integration.
18
19       XR          (real, input) The upper limit of the integration.
20
21       N           (real, input) The number of input data values. (N > 1)
22
23       X           (real, input) An array containing  the  abscissae  for  the
24                   input function.
25
26       Y           (real,  input) An array containing the functional values of
27                   the input function -- Y(K) is the (real, input)  functional
28                   value at X(K) for K=1,N.
29
30       YP          (real, input) Contains values for the second derivative (as
31                   calculated by CURV1).
32
33       SIGMA       (real, input) Tension factor. Values near zero result in  a
34                   cubic  spline;  large  values  (e.g. 50) result in nearly a
35                   polygonal line. A typical value is 1.
36

RETURN VALUE

38       CURVI returns the integral of the interpolated curve between the speciā€
39       fied limits.
40

ACCESS

42       To use CURVI, load the NCAR Graphics library ngmath.
43

SEE ALSO

45       curv1, fitgrid_params.
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       The use of this Software is governed by a License Agreement.
55
56
57
58UNIX                              March 1998                     CURVI(3NCARG)
Impressum