NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
implements several functions for simple use of cubic splines. More...
Data Types | |
interface | cubicspline |
Type used to keep all information on splines. More... | |
interface | csplev |
csplev Performs a spline interpolation in a point or in a table More... | |
interface | csplevder |
csplev Performs a spline interpolation in a point or in a table More... | |
Modules | |
module | csplines |
csplines implements interpolation using cubic splines Description: Submodule interpolate | |
Functions/Subroutines | |
subroutine, public | csplrep (x, y, s1, sn, csp) |
cubic spline interpolation between tabulated data After calling this function the result may be used to evaluate the function as:ynew= csplev(xnew, csp) | |
type(cubicspline) function, public | csplder (csp, m) |
csplder Computes the derivative of the cubic spline | |
type(cubicspline) function, public | csplantider (csp, m) |
Computes the antiderivative of the CubicSpline approximation. | |
subroutine, public | cspl_clean (r) |
Clean-up a spline representation. | |
subroutine, public | cspleps (x, y, err) |
cspleps Estimates the error produced by using a spline approximation | |
real(dp) function, public | csplint (xl, xu, csp, extrapolate) |
Definite integral of a cubic spline function. | |
real(dp) function, public | csplint_square (xl, xu, csp) |
Integral of the square of a function expressed as a cubic spline. | |
real(dp) function, dimension(:), allocatable, public | csplroots (csp) |
csplroots Computes the roots of the Spline approximation | |
implements several functions for simple use of cubic splines.