powered by
Function for computing the Gram matrix of a spline basis.
GramMatrix(object)
a SplineBasis object
a matrix as defined above.
Compute the Gram Matrix. If object denotes the basis functions \(b(t) = \{b_1(t),\ldots,b_J(t)\}\) then the Gram Matrix is,$$ G = \int b^T(t)b(t) \mathrm{d}t $$
object