knots
numeric n+2
vector, a vector of n+2 knot locations presented in the increasing order and without ties;
degree
non-negative integer, the degree of the splines, i.e. the highest degree of the polynomial;
equid
logical, indicates if the knots are equidistant;
Some computations in the equidistant case are simpler so this information helps to account for it.
supp
list (of matrices),
length(supp)==0
-- the full support set for all splines,
length(supp)==N
-- support sets for N
splines;
If non-empty, a list containing Nsupp x 2
matrices (of positive integers).
If Nsupp
is equal to one it should be a row matrix (not a vector).
The rows in the matrices, supp[[i]][l,]
, l in 1:Nsupp
represents the indices of the knots that are the endpoints of the intervals in the support sets.
Each of the support set is represented as a union of disjoint Nsupp
intervals, with knots as the endpoints. Outside the set (support), the spline vanishes.
Each matrix in this list is ordered so the rows closer to the top correspond to the intervals closer to the LHS end of
the support.
der
list (of matrices); a list of the length N
containing
sum(supp[[i]][,2]-supp[[i]][,1]+1) x (degree+1)
matrices, where i
is the index running through the list.
Each matrix in the list includes the values of the derivatives at the knots in the support of the corresponding spline.
taylor
(n+1) x (degree+1)
, if equid=FALSE
, or 1 x (degree+1)
if equid=TRUE
, columnwise vectors of the Taylor expansion coefficients at the knots;
Vectors instead of matrices are recognized properly.
The knot and order dependent matrix of rows of coefficients used in the Taylor expansion of splines.
Once evaluated it can be used in computations for any spline of the given order over the given knots.
The columns of this matrix are used for evaluation of the values of the splines in-between knots,
see the references for further details.
type
string, one of the following character strings: bs
,gsob
,twob
,dspnt
,spnt
,sp
; The default is sp
which
indicates any unstructured collection of splines. The rest of the strings indicate different spline bases:
bs
for B-splines,
gsob
for Gram-Schmidt O-splines,
twob
for two-sided O-splines,
dspnt
for a fully dyadic splinet,
spnt
for a non-dyadic splinet.
periodic
logical, indicates if the B-splines are periodic or not.
epsilon
numeric (positive), an accuracy used to detect a problem with the conditions
required for the matrix of the derivatives (controls relative deviation from the conditions);