Appearance
B-splines and penalized fitting
Bases
All splines in furca are cubic (
Clamped basis with
The spline interpolates its first and last coefficients. It is used along the vessel. The interior knots may also be given explicitly (any strictly increasing sequence in
Periodic basis with
Basis functions and their derivatives are evaluated with Algorithm A2.3 of Piegl and Tiller [2]. Only
Penalized least squares
Given observations
where
- Difference penalty
, with the second-order difference matrix ( ; circulant for periodic bases), for the centerline fits, whose knots are uniform. For uniform cubic B-splines it is a discrete version of . - Integral penalty
, , computed exactly by Gauss–Legendre quadrature with nodes per span, for the wall. It is exact for any knot placement.
Both pull towards straight lines and never towards zero.
Choosing λ
with
Fast evaluation
The search evaluates GCV at many values of
Small dense systems (curves, with three outputs). furca computes once the Cholesky factor
With
Each
Block-banded systems (the wall). A sample touches four consecutive longitudinal B-splines, so with the coefficients ordered by
The trace needs only the blocks of
which fills the band from the last block row upwards. Every evaluation is exact and costs
Search. GCV is evaluated on a 65-point grid over
If a basis function has no data,