The first two arguments are matrices of values of two functional data objects of the same fine mesh of argument values. The mesh is assumed to be equally spaced.
trapzmat(X,Y,delta=1,wt=rep(1,n))
A matrix of approximate inner products. The number of rows the number of
columns of X
and the number of columns is the number of columns of
Y
.
The first matrix of functional data object values over a fine mesh.
The second matrix of functional data object values over the same fine mesh.
The difference between adjacent argument values, assumed to be a constant.
An optional vector of weights for the products of pairs of argument values, otherwise assumed to be all ones.
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
inprod
,
inprod.bspline