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

View source: R/orthogonalBsplines.R

GramMatrixR Documentation

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

Details

Compute the Gram Matrix. If object denotes the basis functions b(t) = \{b_1(t),…,b_J(t)\} then the Gram Matrix is,

G = \int b^T(t)b(t) \mathrm{d}t

Value

a matrix as defined above.


orthogonalsplinebasis documentation built on May 24, 2022, 1:05 a.m.