Calculate all basis functions over observation time points and store them as columns in a single matrix for each dimension. Also include first and second order derivative. Repeat over quadrature points.
prepare_basis(basis, times, nquadpts)A basis object.
The vector contain observation times for corresponding dimension.
Number of quadrature points will be used later for approximating integrals.
Evaluations of all basis functions stored as columns in the matrix.
Evaluations of all basis functions over quadrature points stored as columns in the matrix.
Evaluations of first order derivative all basis functions over quadrature points stored as columns in the matrix.
Evaluations of second order derivative all basis functions over quadrature points stored as columns in the matrix.
Quadrature points.
Quadrature weights.