tension_grad: Gradient of the tension of several splines

View source: R/quintic-spline.R

tension_gradR Documentation

Gradient of the tension of several splines

Description

The gradient of the tension of several splines with respect to the value of the second derivative at each knot.

Usage

tension_grad(xk, yk, sk, ak)

Arguments

xk

A vector of interpolation points.

yk

A vector of values at each interpolation point.

sk

A vector of slopes at each interpolation point.

ak

A vector of second derivatives at each interpolation point.

Value

A vector of length length(ak) with the derivatives.

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


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