|
322. 1D/2D/3D: Cubic Spline Interpolation Package
by N. Sathyamurthy and L. M. Raff, Department of Chemistry, Oklahoma State University, Stillwater, Oklahoma 74074 This is a package of three programs which accomplish cubic spline interpolation in one, two and three independent variables. Data (Fi, i=1, ...I) in one independent variable (xi, i-1, ...I) are numerically fitted by cubic spline interpolation procedure. Values of the function (F) and the first two derivatives (|F/|x, |2f/|x2) are evaluated at a given point (x: x1 < x < xI). The function and the first derivative are continuous and smooth. Data (Fji, i=1, ...I, j=1, ...J) in two independent variables (xi, 1=1, ...I) and (yj, j=1, ...J) are numerically fitted by cubic spline interpolation procedure. Values of the function (F) and the two first partial derivatives (|F/|x, |F/|y) are evaluated at a given point ((x,y): x1 < x < xI and y1 < y < yJ). The function and the first derivatives are continuous and smooth. Data (Fkji, i=1, ...I, j=1, ...J, and k=1, ...K) in three independent variables (xi, i=1, ...I), (yj, j=1, ...J), and (zk, k=1, ...K) are numerically fitted by cubic spline interpolation procedure. Values of the function (F) and the three first partial derivatives (|F/|x, |F/|y, |F/|z) are evaluated at a given point ((x,y,z): x1 < x < xI, y1 < y < yJ, and z1 < z < zK). The function and the first three derivatives are continuous and smooth. FORTRAN IV (IBM 360/370) Lines of Code: 1869 Recommended Citation: N. Sathyamurthy and L. M. Raff, QCPE 11, 322 (1977). |