powered by
Computation of the integral of a cubic B-spline basis over (t0,x) for a given vector of knots
IBsplines(t0, x, knots)
scalar giving lower value of the integration interval.
vector giving the upper values of the integration interval.
vector of knots spanning the desired B-spline basis.
A matrix of dimension length(x) by (length(knots)+2).
length(x)
(length(knots)+2)
Each integrated cubic B-spline is within a given column.
# NOT RUN { IBsplines(t0=0,x=runif(20),knots=seq(0,1,length=11)) # }
Run the code above in your browser using DataLab