D1Bsplines: Computation of the 1st derivative of a cubic B-spline basis...

Description Usage Arguments Value Examples

View source: R/D1Bsplines.R

Description

Computation of the 1st derivative of a cubic B-spline basis associated to a given vector of knots

Usage

1

Arguments

x

vector of values where the 1st derivative of the B-spline basis must be evaluated.

knots

vector of knots spanning the desired B-spline basis.

Value

A matrix of dimension length(x) by (length(knots)+2).

Each column corresponds to (the 1st derivative of) one cubic B-spline in the basis.

Examples

1
D1Bsplines(x=runif(20),knots=seq(0,1,length=11))

cubicBsplines documentation built on July 13, 2021, 5:08 p.m.