boehm: Knot Insertion, Removal, and Reinsertion

Description Usage Arguments Value Author(s) Examples

Description

Functions for the insertion, removal, and reinsertion of internal knots for B-splines.

Usage

1
2
3
4
5
6
7
refine_ordinate(x, xi, theta, order = 4L)

coarsen_ordinate(x, xi, theta, order = 4L)

hat_ordinate(x, xi, theta, order = 4L)

insertion_matrix(x, xi, order = 4L)

Arguments

x

the value of the knot to be inserted into the knot vector

xi

the (whole) knot vector, including the repeated boundary knots. Regardless of refinement or coarsening, this vector should be the 'reduced' vector such that x will be added to it. See details and examples.

theta

the ordinates of the control polygon vertices

order

the order of the B-spline, defaults to 4 for cubic splines

Value

numeric vectors

Author(s)

Peter DeWitt dewittpe@gmail.com

Examples

1
2
3
4
5
## Not run: 
# See the vignette
vignette("cpr-pkg", package = "cpr")

## End(Not run)

cpr documentation built on May 1, 2019, 10:46 p.m.