TOMS716 or TSPACK
Curve fitting via tension spline interpolation.
Renka, R. J. (1993). Algorithm 716. TSPACK: Tension spline curve-fitting package. ACM Transactions on Mathematical Software, 19(1), 81-94.
ABSTRACT OR SUMMARY
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 constructing general planar curves and space curves. [Renka, 1993, p. 81.]
All software, both binary and source published by the Association for Computing Machinery (hereafter, Software) is copyrighted by the Association (hereafter, ACM) and ownership of all right, title and interest in and to the Software remains with ACM. By using or copying the Software, User agrees to abide by the terms of this Agreement. The URL for the ACM Software Copyright and License Agreement is http://www.acm.org/pubs/copyright_policy/softwareCRnotice.html.
ORIGINAL CODE LOCATION