tension: Tension of several splines

View source: R/quintic-spline.R

tensionR Documentation

Tension of several splines

Description

Tension (as mesured by the integral of the square of the third derivative) of several splines put together.

Usage

tension(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

The tension of the spline over [min(xk), max(xk)].

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


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