aboutsummaryrefslogtreecommitdiff
path: root/math/surfit/doc/islrefit.hlp
blob: c34476d61ffda228e7defa9f4dfd20e0a4c1e49c (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
.help islrefit Aug85 "Gsurfit Package"
.ih
NAME
islrefit -- refit surface grid line  assuming old cols, w vector
.ih
SYNOPSIS
include <math/surfit.h>

islrefit (sf, cols, lineno, z, w)

.nf
pointer	sf			# surface grid descriptor
int	cols[ARB]		# columns to be fit, 1 <= cols[i] <= ncols
int	lineno			# line number of surface grid line to be fit
real	z[ARB]			# array of data values
real	w[ARB]			# array of weights
.fi
.ih
ARGUMENTS
.ls sf          
Pointer to the surface grid descriptor structure.
.le
.ls cols
The column numbers of the surface grid line to be added to the dataset.
.le
.ls lineno
The number of the surface grid line to be added to the dataset.
.le
.ls z    
Array of data values.
.le
.ls w    
Array of weights.
.le
.ih
DESCRIPTION
In some applications the cols, and w values remain unchanged from fit
to fit and only the z values vary. In this case it is redundant to
reaccumulate the matrix and perform the Cholesky factorization for each
succeeding surface grid line. ISLREFIT
zeros and reaccumulates the vector on the right hand side of the matrix
equation and performs the forward and back substitution phase to fit for
a new coefficient vector.
.ih
NOTES
It is the responsibility of the calling program to check for out of bounds
column values and INDEF valued pixels.
.ih
SEE ALSO
isinit, islfit, islaccum, islsolve, islzero, issolve, isfree
.endhelp