Skip to main content
U.S. flag

An official website of the United States government

Quadratic spline subroutine package

January 1, 1982

A continuous piecewise quadratic function with continuous first derivative is devised for approximating a single-valued, but unknown, function represented by a set of discrete points. The quadratic is proposed as a treatment intermediate between using the angular (but reliable, easily constructed and manipulated) piecewise linear function and using the smoother (but occasionally erratic) cubic spline. Neither iteration nor the solution of a system of simultaneous equations is necessary to determining the coefficients. Several properties of the quadratic function are given. A set of five short FORTRAN subroutines is provided for generating the coefficients (QSC), finding function value and derivatives (QSY), integrating (QSI), finding extrema (QSE), and computing arc length and the curvature-squared integral (QSK). (USGS)

Publication Year 1982
Title Quadratic spline subroutine package
DOI 10.3133/wri8241
Authors Lowell A. Rasmussen
Publication Type Report
Publication Subtype USGS Numbered Series
Series Title Water-Resources Investigations Report
Series Number 82-41
Index ID wri8241
Record Source USGS Publications Warehouse