aboutsummaryrefslogtreecommitdiff
path: root/math/curfit/doc/cvstati.hlp
blob: ffd05d0a959ba7ce79202b478c8c99b654226f70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.help cvstati May85 "Curfit Package"
.ih
NAME
cvstati -- get integer parameter
.ih
SYNOPSIS
include <math/curfit.h>

ival = cvstati (cv, parameter)

.nf
pointer	cv		# curve descriptor
int	parameter	# parameter to be returned
.fi
.ih
ARGUMENTS
.ls cv     
The pointer to the curve descriptor structure.
.le
.ls parameter
Parameter to be return.  Definitions in curfit.h are:
.nf
	define	CVTYPE		1	# curve type
	define	CVORDER		2	# order
	define	CVNCOEFF	3	# number of coefficients
	define	CVNSAVE		4	# length of save buffer
.fi
.le
.ih
DESCRIPTION
The values of integer parameters are returned.  The parameters include
the curve type, the order, the number of coefficients, and the length
of the buffer required by CVSAVE (which is of TY_REAL).
.ih
EXAMPLES
.nf
	include <curfit.h>

	int	cvstati()

	call malloc (buf, cvstati (cv, CVNSAVE), TY_REAL)
	call cvsave (cv, Memr[buf])
.fi
.ih
SEE ALSO
cvstatr
.endhelp