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

Description Usage Arguments Value

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

1
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.


fda documentation built on May 31, 2017, 5:12 a.m.

Search within the fda package
Search all R packages, documentation and source code