Learn R Programming

orthogonalsplinebasis (version 0.1.7)

GramMatrix: Computing the Gram Matrix for a set of Spline Basis

Description

Function for computing the Gram matrix of a spline basis.

Usage

GramMatrix(object)

Arguments

object

a SplineBasis object

Value

a matrix as defined above.

Details

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 $$