inprod.cent {ctmva}R Documentation

Centered inner product matrix for a basis or pair of bases

Description

Most methods of continous-time multivariate analysis require a matrix of inner products of pairs of functions from a basis, such as a B-spline basis, or pairs consisting of one function from each of two bases. This function computes such matrices via 7-point Newton-Cotes integration, which is exact for cubic B-splines.

Usage

inprod.cent(basis1, basis2 = basis1, rng = NULL)

Arguments

basis1

basis object from the fda package.

basis2

an optional second basis

rng

range (of times) spanned by the basis

Value

Matrix of inner products of each pair of centered basis functions.

Author(s)

Biplab Paul <paul.biplab497@gmail.com> and Philip Tzvi Reiss <reiss@stat.haifa.ac.il>

See Also

create.bspline.basis from package fda, for the most commonly used basis object type.

Examples



require(fda)
basis8 <- create.bspline.basis(nbasis=8)
inprod.cent(basis8)


[Package ctmva version 1.1.0 Index]