Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Quadrature subroutines for splines and B-splines. [BFQUAD, BSQUAD, PFQUAD, and PPQUAD]

Technical Report ·
OSTI ID:5724915

The B-spline package of De Boor numerically manipulates B-splines in a variety of ways. Notably absent from the package are routines for integrating B-splines. To cover this deficiency BSQUAD, PPQUAD, BFQUAD, and PFQUAD for integrating splines and B-splines were constructed and are described herein. BSQUAD accepts the B-representation in terms of the knot array T(*), the coefficient array BCOEF(*), the number of coefficients N, and the order K to compute integrals on subintervals of T(K) less than or equal to X less than or equal to T(N + 1). Distinct knots partition the interval of integration so that polynomial integration by a Gauss quadrature formula can be implemented. The piecewise polynomial (PP) representation, although not preferred over the B-representation for solving problems, is sometimes needed, and the De Boor package has a routine to make the conversion. This PP form is accepted by PPQUAD, which sums polynomial evaluations of integrals on the partition. More general integrals for the product of a function f(x) and a B-spline are computed similarly in subroutines BFQUAD and PFQUAD using a quadrature routine with error control and a code structure similar to that in BSQUAD and PPQUAD.

Research Organization:
Sandia Labs., Albuquerque, NM (USA)
DOE Contract Number:
EY-76-C-04-0789
OSTI ID:
5724915
Report Number(s):
SAND-79-1825
Country of Publication:
United States
Language:
English

Similar Records

Constrained least squares curve fitting to discrete data using B-splines: a user's guide. [FC for CDC 6600]
Technical Report · Wed Jan 31 23:00:00 EST 1979 · OSTI ID:6189927

Procedure for converting a Wilson-Fowler spline to a cubic B-spline with double knots
Technical Report · Wed Oct 14 00:00:00 EDT 1987 · OSTI ID:5113141

Two-Sided Semi-Local Smoothing Splines
Journal Article · Mon Oct 15 00:00:00 EDT 2018 · Journal of Mathematical Sciences · OSTI ID:22773757