aboutsummaryrefslogtreecommitdiff
path: root/lib/math/surfit.h
blob: 7b6de4928b1faddca032265769aebc3d189a180e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SURFIT.H -- Global defines for the surface fitting package.

# Permitted types of curves.

define	SF_FUNCTIONS	"|legendre|chebyshev|spline3|spline1|"
define	SF_LEGENDRE	1
define	SF_CHEBYSHEV	2
define	SF_SPLINE3	3
define	SF_SPLINE1	4
define	SF_NTYPES	4

# Weighting flags

define	SF_WEIGHTS	"|user|uniform|"
define	SF_USER		1	# user enters weights
define	SF_UNIFORM	2	# equal weights, weight 1.0

# Error conditions

define	SINGULAR	1	# matrix is singular
define	NO_DEG_FREEDOM	2	# insufficient number of data points