aboutsummaryrefslogtreecommitdiff
path: root/math/bevington/man/interp.3m
diff options
context:
space:
mode:
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