Learn R Programming

ICSsmoothing (version 1.2.10)

explicit_spline: The function computes the coefficients of the cubic polynomials as spline components of the clamped interpolating cubic spline of class C^2 in its explicit form S=B * gamma.

Description

The function computes the coefficients of the cubic polynomials as spline components of the clamped interpolating cubic spline of class C^2 in its explicit form S=B * gamma.

Usage

explicit_spline(B, gamma)

Value

a matrix with four columns, whose i-th row contains the coefficients of the splines's i-th component.

Arguments

B

a 4-element array of (n+1)x(n+4) matrices, whereas element in i-th row and j-th column of l-th matrix contains coefficient by x^{l-1} of cubic polynomial that is in i-th row and j-th column of matrix B from spline's explicit form S=B.gamma.

gamma

a vector of spline coefficients - function values and exterior-node derivatives that takes part in the explicit form \(S=B.\gamma\).

Examples

Run this code
# See functions cics_explicit, cics_unif_explicit and the vignette.

Run the code above in your browser using DataLab