Abstract
The primary purpose of TSPACK is to construct a smooth function which interpolates a discrete set of data points. The function may be required to have either one or two continuous derivatives. If the accuracy of the data does not warrant interpolation, a smoothing function (which does not pass through the data points) may be constructed instead. The fitting method is designed to avoid extraneous inflection points (associated with rapidly varying data values) and preserve local shape properties of the data (monotonicity and convexity), or to satisfy the more general constraints of bounds on function values or first derivatives. The package also provides a parametric representation for construction general planar curves and space curves.
Supplemental Material
Available for Download
tension spline curve-fitting package Gams: e1a, e1c, k1a1a1, k1a1a3
- 1 CLINE, A K. Scalar- and planar-valued curve fitting using splines under tension. Commun. ACM 17, 4 (Apr. 1974), 218-223. Google Scholar
- 2 DE BOOR, C. A Practical Guide to Spltnes. Springer-Verlag, New York, 1978.Google Scholar
- 3 FRITSCH, F. N., AND BUTLAND, J. A method for constructing local monotone p~ecewise cubic interpolants. SIAM J. Sct. Stat. Comput. 5, 2 (June 1984), 300 304.Google Scholar
- 4 FRITSCH, F. N., AND CARLSON, R. E. Monotone piecewise cubic interpolation. SIAM J. Numer. Anal 17, 2 (Apr. 1988), 238-246.Google Scholar
- 5 KAHANER, D., MOLER, C., ANn NASH, S. Numerical Methods and Software. Prentice Hall, Englewood Cliffs, N.J., 1989. Google Scholar
- 6 RE~NSC}t, C.H. Smoothing by spline functions. Numer. Math. lO (1967), 177-183.Google Scholar
- 7 REINSCH, C.H. Smoothing by spline functions II. Numer. Math. 16 (1971), 451-454.Google Scholar
- 8 RENKA, R. J. Interpolatory tenmon sphnes with automatic selection of tension factors. SIAM J. Sc~. Stat. Comput. 8, 3 (May 1987), 393-415. Google Scholar
- 9 SCHWEIKERT, D. G. An lnterpolatory curve using a spline in tension. J Math. Phys. 45 (1966), 312-317.Google Scholar
Index Terms
- Algorithm 716: TSPACK: tension spline curve-fitting package
Recommendations
Scalar- and planar-valued curve fitting using splines under tension
The spline under tension was introduced by Schweikert in an attempt to imitate cubic splines but avoid the spurious critical points they induce. The defining equations are presented here, together with an efficient method for determining the necessary ...
Algorithm 893: TSPACK: tension spline package for curve design and data fitting
TSPACK is a curve-fitting package based on exponential tension splines with automatic selection of tension factors. It serves both as a method for data fitting with preservation of shape properties or more general constraints, and as a means of computer ...
Remark on Algorithm 716
The curve-fitting package TSPACK has been converted to double precision. Also, portability has been improved by eliminating some potential errors.
Comments