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

NAME

6       c_ftcurvi - calculate integrals
7

FUNCTION PROTOTYPE

9       int c_ftcurvi (float, float, int, float [], float [], float *);
10

SYNOPSIS

12       int c_ftcurvi (xl, xr, n, xi, yi, integral);
13

DESCRIPTION

15       xl          The lower limit of the integration.
16
17       xr          The upper limit of the integration.
18
19       n           The number of input data points. (N > 1)
20
21       xi          An array containing the abscissae for the input function.
22
23       yi          An  array  containing  the  functional  values of the input
24                   function (y(k) is the functional value at x(k) for k=0,n).
25
26       integral    The integral of the function from xl  to  xr  is  given  by
27                   *integral.
28

RETURN VALUE

30       c_ftcurvi 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

USAGE

37       c_ftcurvi 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_ftcurvi are: sig, sl1, sln, sf1.
40

ACCESS

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

SEE ALSO

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