
Construct a B-spline Design Matrix
build_bspline_design_matrix.RdBuilds the B-spline basis matrix by evaluating each normalised truncated power B-spline
basis function at the input locations omega. Each column of the matrix corresponds
to one basis function.
Value
A numeric matrix with length(omega) rows and length(knots) - k - 1 columns,
where each column is a normalised B-spline basis function evaluated at omega.
Details
The number of basis functions is given by length(knots) - k - 1. Each column of the matrix
is computed using evaluate_bspline_basis.
