getbasismatrix: Values of Basis Functions or their Derivatives

Description Usage Arguments Value See Also Examples

Description

Evaluate a set of basis functions or their derivatives at a set of argument values.

Usage

1
getbasismatrix(evalarg, basisobj, nderiv=0)

Arguments

evalarg

a vector of arguments values.

basisobj

a basis object.

nderiv

a nonnegative integer specifying the derivative to be evaluated.

Value

a matrix of basis function or derivative values. Rows correspond to argument values and columns to basis functions.

See Also

eval.fd

Examples

1
2
3
4
# Minimal example:  a B-spline of order 1, i.e., a step function
# with 0 interior knots:
bspl1.1 <- create.bspline.basis(norder=1, breaks=0:1)
getbasismatrix(seq(0, 1, .2), bspl1.1)

drtagkim/mcgillfdar documentation built on May 12, 2019, 6:20 p.m.