inprod.cent {ctmva} | R Documentation |
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.
inprod.cent(basis1, basis2 = basis1, rng = NULL)
basis1 |
basis object from the |
basis2 |
an optional second basis |
rng |
range (of times) spanned by the basis |
Matrix of inner products of each pair of centered basis functions.
Biplab Paul <paul.biplab497@gmail.com> and Philip Tzvi Reiss <reiss@stat.haifa.ac.il>
create.bspline.basis
from package fda
, for the most commonly used basis object type.
require(fda)
basis8 <- create.bspline.basis(nbasis=8)
inprod.cent(basis8)