aboutsummaryrefslogtreecommitdiff
path: root/math/interp/asidef.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/interp/asidef.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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 !!