natural_quintic_spline_noderiv: Estimate natural quintic spline with unknown first...

View source: R/quintic-spline.R

natural_quintic_spline_noderivR Documentation

Estimate natural quintic spline with unknown first derivatives

Description

Estimate a natural quintic spline from known values of the function only. That is, it estimates the first and second derivatives at each point by ensuring that the third and fourth derivatives are continuous at each knot, and equal to zero at the first and the last point.

Usage

natural_quintic_spline_noderiv(xk, yk)

Arguments

xk

A vector of interpolation points.

yk

A vector of values at each interpolation point.

Value

A list with two components:

  • sk A vector of first derivatives at each point.

  • ak A vector of second derivatives at each point.

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


thomasblanchet/gpinter documentation built on Nov. 29, 2022, 4:32 a.m.