aboutsummaryrefslogtreecommitdiff
path: root/math/surfit/doc/issave.hlp
blob: 6ec97cd6cc6f3b49c511291571edaad372dbd340 (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
48
49
50
51
52
53
54
55
.help issave Apr85 "Surfit Package"
.ih
NAME
issave - save the surface fit
.ih
SYNOPSIS
issave (sf, fit)

.nf
pointer	sf		# surface descriptor
real	fit[ARB]	# fit array
.fi
.ih
ARGUMENTS
.ls sf   
Pointer to the surface grid descriptor.
.le
.ls fit
Array for storing the fit. The fit array must be at least SAVE_COEFF + ncoeff
elements long.
.le

.ih
DESCRIPTION
ISSAVE stores the surface parameters and coefficient array
in the 1-D reall array fit. Fit must be at least ncoeff + SAVE_COEFF
elements long where ncoeff is defined as follows.

.nf
	SF_LEGENDRE:		nxcoeff = xorder
				nycoeff = yorder
				ncoeff = xorder * yorder        xterms = yes
				ncoeff = nycoeff + nxcoeff - 1  xterms = no

	SF_CHEBYSHEV:		nxcoeff = xorder
				nycoeff = yorder
				ncoeff = xorder * yorder        xterms = yes
				ncoeff = nycoeff + nxcoeff - 1  xterms = no

	SF_SPLINE3:		nxcoeff = xorder + 3
				nycoeff = yorder + 3
				ncoeff = (xorder + 3) * (yorder + 3)

	SF_SPLINE1:		nxcoeff = xorder + 1
				nycoeff = yorder + 1
				ncoeff = (xorder + 1) * (yorder + 1)

.fi

.ih
NOTES
.ih
SEE ALSO
isreplace
.endhelp