explicit_spline: The function computes the coefficients of the cubic...

View source: R/ICS_smoothing.R

explicit_splineR Documentation

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)

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

Value

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

Examples

# See functions cics_explicit, cics_unif_explicit and the vignette.

ICSsmoothing documentation built on Jan. 9, 2023, 1:23 a.m.