Simple splines Splines are fully specified by the interpolation points, except that at the ends, we have the freedom to prescribe the second derivatives. If we know a derivative at an end (exactly), then best is to impose that. Otherwise, it is better to use the "consistent" end conditions: the second derivative is determined such that it is smooth.

source: splines.FLoading...

...

Return Value :: REAL(dp)

REAL(dp), |
INTENT(in) |
:: | x(:) | ... | |

REAL(dp), |
INTENT(in) |
:: | y(:) | ... | |

REAL(dp), |
INTENT(in) |
:: | xnew(:) | ... |

...

REAL(dp), |
INTENT(in) |
:: | x(:) | ... | |

REAL(dp), |
INTENT(in) |
:: | y(:) | ... | |

REAL(dp), |
INTENT(in) |
:: | xnew(:) | ... | |

REAL(dp), |
INTENT(out), |
OPTIONAL |
:: | ynew(:) | ... |

REAL(dp), |
INTENT(out), |
OPTIONAL |
:: | dynew(:) | ... |

REAL(dp), |
INTENT(out), |
OPTIONAL |
:: | d2ynew(:) | ... |