aboutsummaryrefslogtreecommitdiff
path: root/math/bevington/man/interp.3m
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/bevington/man/interp.3m
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/bevington/man/interp.3m')
-rw-r--r--math/bevington/man/interp.3m29
1 files changed, 29 insertions, 0 deletions
diff --git a/math/bevington/man/interp.3m b/math/bevington/man/interp.3m
new file mode 100644
index 00000000..0a25b2b0
--- /dev/null
+++ b/math/bevington/man/interp.3m
@@ -0,0 +1,29 @@
+.TH INTERP 3M
+.SH NAME
+interp
+.SH DESCRIPTION
+subroutine interp.f
+
+source
+ Bevington, pages 266-267.
+
+purpose
+ interpolate between data points to evaluate a function
+
+usage
+ call interp (x, y, npts, nterms, xin, yout)
+
+description of parameters
+ x - array of data points for independent variable
+ y - array of data points for dependent variable
+ npts - number of pairs of data points
+ nterms - number of terms in fitting polynomial
+ xin - input value of x
+ yout - interpolated value of y
+
+subroutines and function subprograms required
+ none
+
+comments
+ valid for nterms up to 10
+ value of nterms may be modified by the program