distance_spline | R Documentation |
Calculate the distance between two quintic splines, as measured by the integral of the square of the difference. Also calculates the derivatives of that distance with respect to the spline parameters of the second function.
distance_spline(
x0,
x1,
y0,
y1,
s0,
s1,
a0,
a1,
y0new,
y1new,
s0new,
s1new,
a0new,
a1new
)
x0 |
Lower bound of the interval. |
x1 |
Upper bound of the interval. |
y0 |
Value of the spline at |
y1 |
Value of the spline at |
s0 |
Slope of the spline at |
s1 |
Slope of the spline at |
a0 |
Second derivative of the spline at |
a1 |
Second derivative of the spline at |
y0new |
Value of the spline at |
y1new |
Value of the spline at |
s0new |
Slope of the spline at |
s1new |
Slope of the spline at |
a0new |
Second derivative of the spline at |
a1new |
Second derivative of the spline at |
The value of the distance or its derivatives.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.