aboutsummaryrefslogtreecommitdiff
path: root/math/interp/asidef.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/interp/asidef.h')
-rw-r--r--math/interp/asidef.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/interp/asidef.h b/math/interp/asidef.h
new file mode 100644
index 00000000..9fd06084
--- /dev/null
+++ b/math/interp/asidef.h
@@ -0,0 +1,16 @@
+# defines for use with interpolator package
+# intended for internal consumption only
+# used to set up storage in coeff array
+
+define TYPEI coeff[1] # code for interpolator type
+define NPTS coeff[2] # no. of data points
+
+define ITYPEI int(coeff[1])
+define INPTS int(coeff[2])
+
+define ASITYPEERR 1
+define ASIFITERR 2
+
+define COFF 10 # offset into coeff array
+ # beware coeff[COFF - 2] is first
+ # location used !!