fda (version 2.4.4)

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)

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.

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.