Learn R Programming

fda (version 6.2.0)

inprod.bspline: Compute Inner Products B-spline Expansions.

Description

Computes the matrix of inner products when both functions are represented by B-spline expansions and when both derivatives are integers. This function is called by function inprod, and is not normally used directly.

Usage

inprod.bspline(fdobj1, fdobj2=fdobj1, nderiv1=0, nderiv2=0)

Value

a matrix of inner products with number of rows equal to the number of replications of the first argument and number of columns equal to the number of replications of the second object.

Arguments

fdobj1

a functional data object having a B-spline basis function expansion.

fdobj2

a second functional data object with a B-spline basis function expansion. By default, this is the same as the first argument.

nderiv1

a nonnegative integer specifying the derivative for the first argument.

nderiv2

a nonnegative integer specifying the derivative for the second argument.

References

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.