gd1: First derivative of the cubic spline function

View source: R/cubic-spline.R

gd1R Documentation

First derivative of the cubic spline function

Description

First derivative of the cubic spline over an interval [x0, x1].

Usage

gd1(x, x0, x1, y0, y1, s0, s1)

Arguments

x

A number between x0 and x1, at which the function is evaluated.

x0

Lower bound of the interval.

x1

Upper bound of the interval.

y0

Value of the spline at x0.

y1

Value of the spline at x1.

s0

Slope of the spline at x0.

s1

Slope of the spline at x1.

Value

The value of first derivative of the interpolation at x.

Author(s)

Thomas Blanchet, Juliette Fournier, Thomas Piketty


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