aboutsummaryrefslogtreecommitdiff
path: root/math/curfit/doc/cveval.hlp
blob: 48cd7f10fe8d1716b1b8569cebeda23c5f099096 (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
.help cveval Jun84 "Curfit Package"
.ih
NAME
cveval -- evaluate the fitted function at a single x value
.ih
SYNOPSIS
y = cveval (cv, x)

.nf
pointer	cv	# curve descriptor
real	x	# x value
.fi
.ih
ARGUMENTS
.ls cv    
Pointer to the curve descriptor structure.
.le
.ls x   
X value at which the curve is to be evaluated.
.le
.ih
DESCRIPTION
Evaluate the curve at the specified value of x. CVEVAL is a real
function which returns the fitted y value.
.ih
NOTES
It uses the coefficient array stored in the curve descriptor structure.
The x values are assumed to lie in the region xmin <= x <= xmax. Checking
for out of bounds x values is the responsibility of the user.
.ih
SEE ALSO
cvvector
.endhelp