Implements various routines for cubic spline interpolation.
BEZ_VAL evaluates an N-th degree Bezier function at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | a | ||||
| real(kind=8) | :: | b | ||||
| real(kind=8) | :: | y(0:n) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | arg1 | ||||
| real(kind=8) | :: | arg2 |
R8_UNIFORM_01 is a portable pseudorandom number generator.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | seed |
R8VEC_DISTINCT is true if the entries in an R8VEC are distinct.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x(n) |
BASIS_FUNCTION_B_VAL evaluates the B spline basis function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
BASIS_FUNCTION_BETA_VAL evaluates the beta spline basis function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | beta1 | ||||
| real(kind=8) | :: | beta2 | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
BASIS_MATRIX_B_UNI sets up the uniform B spline basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(4,4) |
BASIS_MATRIX_BETA_UNI sets up the uniform beta spline basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | beta1 | ||||
| real(kind=8) | :: | beta2 | ||||
| real(kind=8) | :: | mbasis(4,4) |
BASIS_MATRIX_BEZIER sets up the cubic Bezier spline basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(4,4) |
BASIS_MATRIX_HERMITE sets up the Hermite spline basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(4,4) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | alpha | ||||
| real(kind=8) | :: | beta | ||||
| real(kind=8) | :: | mbasis(4,4) |
BASIS_MATRIX_OVERHAUSER_NUL sets the nonuniform left Overhauser basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | alpha | ||||
| real(kind=8) | :: | mbasis(3,3) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | beta | ||||
| real(kind=8) | :: | mbasis(3,3) |
BASIS_MATRIX_OVERHAUSER_UNI sets the uniform Overhauser spline basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(4,4) |
BASIS_MATRIX_OVERHAUSER_UNI_L sets the left uniform Overhauser basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(3,3) |
BASIS_MATRIX_OVERHAUSER_UNI_R sets the right uniform Overhauser basis matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | mbasis(3,3) |
BASIS_MATRIX_TMP computes Q = T * MBASIS * P
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | left | ||||
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | mbasis(n,n) | ||||
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
BC_VAL evaluates a parameterized N-th degree Bezier curve in 2D.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t | ||||
| real(kind=8) | :: | xcon(0:n) | ||||
| real(kind=8) | :: | ycon(0:n) | ||||
| real(kind=8) | :: | xval | ||||
| real(kind=8) | :: | yval |
BP01 evaluates the Bernstein basis polynomials for [0,1] at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | bern(0:n) |
BPAB evaluates the Bernstein basis polynomials for [A,B] at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a | ||||
| real(kind=8) | :: | b | ||||
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | bern(0:n) |
BPAB_APPROX evaluates the Bernstein polynomial approximant to F(X) on [A,B].
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a | ||||
| real(kind=8) | :: | b | ||||
| real(kind=8) | :: | ydata(0:n) | ||||
| real(kind=8) | :: | xval | ||||
| real(kind=8) | :: | yval |
CHFEV evaluates a cubic polynomial given in Hermite form.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | x1 | ||||
| real(kind=8) | :: | x2 | ||||
| real(kind=8) | :: | f1 | ||||
| real(kind=8) | :: | f2 | ||||
| real(kind=8) | :: | d1 | ||||
| real(kind=8) | :: | d2 | ||||
| integer(kind=4) | :: | ne | ||||
| real(kind=8) | :: | xe(ne) | ||||
| real(kind=8) | :: | fe(ne) | ||||
| integer(kind=4) | :: | next(2) | ||||
| integer(kind=4) | :: | ierr |
DATA_TO_DIF sets up a divided difference table from raw data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ntab | ||||
| real(kind=8) | :: | xtab(ntab) | ||||
| real(kind=8) | :: | ytab(ntab) | ||||
| real(kind=8) | :: | diftab(ntab) |
DIF_VAL evaluates a divided difference polynomial at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ntab | ||||
| real(kind=8) | :: | xtab(ntab) | ||||
| real(kind=8) | :: | diftab(ntab) | ||||
| real(kind=8) | :: | xval | ||||
| real(kind=8) | :: | yval |
LEAST_SET_OLD constructs the least squares polynomial approximation to data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ntab | ||||
| real(kind=8) | :: | xtab(ntab) | ||||
| real(kind=8) | :: | ytab(ntab) | ||||
| integer(kind=4) | :: | ndeg | ||||
| real(kind=8) | :: | ptab(ntab) | ||||
| real(kind=8) | :: | b(1:ndeg) | ||||
| real(kind=8) | :: | c(0:ndeg) | ||||
| real(kind=8) | :: | d(2:ndeg) | ||||
| real(kind=8) | :: | eps | ||||
| integer(kind=4) | :: | ierror |
LEAST_VAL_OLD evaluates a least squares polynomial defined by LEAST_SET_OLD.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | x | ||||
| integer(kind=4) | :: | ndeg | ||||
| real(kind=8) | :: | b(1:ndeg) | ||||
| real(kind=8) | :: | c(0:ndeg) | ||||
| real(kind=8) | :: | d(2:ndeg) | ||||
| real(kind=8) | :: | value |
LEAST_SET defines a least squares polynomial for given data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | point_num | ||||
| real(kind=8) | :: | x(point_num) | ||||
| real(kind=8) | :: | f(point_num) | ||||
| real(kind=8) | :: | w(point_num) | ||||
| integer(kind=4) | :: | nterms | ||||
| real(kind=8) | :: | b(nterms) | ||||
| real(kind=8) | :: | c(nterms) | ||||
| real(kind=8) | :: | d(nterms) |
LEAST_VAL evaluates a least squares polynomial defined by LEAST_SET.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | nterms | ||||
| real(kind=8) | :: | b(nterms) | ||||
| real(kind=8) | :: | c(nterms) | ||||
| real(kind=8) | :: | d(nterms) | ||||
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | px |
LEAST_VAL2 evaluates a least squares polynomial defined by LEAST_SET.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | nterms | ||||
| real(kind=8) | :: | b(nterms) | ||||
| real(kind=8) | :: | c(nterms) | ||||
| real(kind=8) | :: | d(nterms) | ||||
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | px | ||||
| real(kind=8) | :: | pxp |
PARABOLA_VAL2 evaluates a parabolic interpolant through tabular data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | dim_num | ||||
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(dim_num,ndata) | ||||
| integer(kind=4) | :: | left | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval(dim_num) |
PENTA solves a pentadiagonal system of linear equations.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a1(n) | ||||
| real(kind=8) | :: | a2(n) | ||||
| real(kind=8) | :: | a3(n) | ||||
| real(kind=8) | :: | a4(n) | ||||
| real(kind=8) | :: | a5(n) | ||||
| real(kind=8) | :: | b(n) | ||||
| real(kind=8) | :: | x(n) |
R8_SWAP swaps two real values.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | x | ||||
| real(kind=8) | :: | y |
R83_MXV multiplies an R83 matrix times a vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(3,n) | ||||
| real(kind=8) | :: | x(n) | ||||
| real(kind=8) | :: | b(n) |
R83_NP_FS factors and solves an R83 system.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(3,n) | ||||
| real(kind=8) | :: | b(n) | ||||
| real(kind=8) | :: | x(n) |
R83_UNIFORM randomizes an R83 matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| integer(kind=4) | :: | seed | ||||
| real(kind=8) | :: | a(3,n) |
R85_NP_FS factors and solves an R85 linear system.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(5,n) | ||||
| real(kind=8) | :: | b(n) | ||||
| real(kind=8) | :: | x(n) |
R85_PRINT prints an R85 matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(5,n) | ||||
| character(len=*) | :: | title |
R85_PRINT_SOME prints some of an R85 matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(5,n) | ||||
| integer(kind=4) | :: | ilo | ||||
| integer(kind=4) | :: | jlo | ||||
| integer(kind=4) | :: | ihi | ||||
| integer(kind=4) | :: | jhi | ||||
| character(len=*) | :: | title |
R8GE_FS factors and solves an R8GE system.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n,n) | ||||
| real(kind=8) | :: | b(n) | ||||
| integer(kind=4) | :: | info |
R8VEC_BRACKET searches a sorted R8VEC for successive brackets of a value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x(n) | ||||
| real(kind=8) | :: | xval | ||||
| integer(kind=4) | :: | left | ||||
| integer(kind=4) | :: | right |
R8VEC_BRACKET3 finds the interval containing or nearest a given value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t(n) | ||||
| real(kind=8) | :: | tval | ||||
| integer(kind=4) | :: | left |
R8VEC_EVEN returns N real values, evenly spaced between ALO and AHI.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | alo | ||||
| real(kind=8) | :: | ahi | ||||
| real(kind=8) | :: | a(n) |
R8VEC_INDICATOR sets an R8VEC to the indicator vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n) |
R8VEC_ORDER_TYPE determines the order type of an R8VEC.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n) | ||||
| integer(kind=4) | :: | order |
R8VEC_PRINT prints an R8VEC.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n) | ||||
| character(len=*) | :: | title |
R8VEC_SORT_BUBBLE_A ascending sorts an R8VEC using bubble sort.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n) |
R8VEC_UNIFORM_01 returns a unit pseudorandom R8VEC.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| integer(kind=4) | :: | seed | ||||
| real(kind=8) | :: | r(n) |
R8VEC_UNIQUE_COUNT counts the unique elements in an unsorted R8VEC.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | a(n) | ||||
| real(kind=8) | :: | tol | ||||
| integer(kind=4) | :: | unique_num |
SPLINE_B_VAL evaluates a cubic B spline approximant.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
SPLINE_BETA_VAL evaluates a cubic beta spline approximant.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=8) | :: | beta1 | ||||
| real(kind=8) | :: | beta2 | ||||
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
SPLINE_BEZIER_VAL evaluates a cubic Bezier spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | dim_num | ||||
| integer(kind=4) | :: | interval_num | ||||
| real(kind=8) | :: | data_val(dim_num,cubic*interval_num+1) | ||||
| integer(kind=4) | :: | point_num | ||||
| real(kind=8) | :: | point_t(point_num) | ||||
| real(kind=8) | :: | point_val(dim_num,point_num) |
SPLINE_CONSTANT_VAL evaluates a piecewise constant spline at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata-1) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
SPLINE_CUBIC_SET_FULL computes second derivatives of piecewise cubic spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t(n) | ||||
| real(kind=8) | :: | y(n) | ||||
| integer(kind=4) | :: | ibcbeg | ||||
| real(kind=8) | :: | ybcbeg | ||||
| integer(kind=4) | :: | ibcend | ||||
| real(kind=8) | :: | ybcend | ||||
| real(kind=8) | :: | ypp(n) |
SPLINE_CUBIC_SET computes the second derivatives of a piecewise cubic spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t(n) | ||||
| real(kind=8) | :: | y(n) | ||||
| integer(kind=4) | :: | ibcbeg | ||||
| real(kind=8) | :: | ybcbeg | ||||
| integer(kind=4) | :: | ibcend | ||||
| real(kind=8) | :: | ybcend | ||||
| real(kind=8) | :: | ypp(n) |
SPLINE_CUBIC_VAL evaluates a piecewise cubic spline at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t(n) | ||||
| real(kind=8) | :: | y(n) | ||||
| real(kind=8) | :: | ypp(n) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval | ||||
| real(kind=8) | :: | ypval | ||||
| real(kind=8) | :: | yppval |
SPLINE_CUBIC_VAL2 evaluates a piecewise cubic spline at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | t(n) | ||||
| real(kind=8) | :: | y(n) | ||||
| real(kind=8) | :: | ypp(n) | ||||
| integer(kind=4) | :: | left | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval | ||||
| real(kind=8) | :: | ypval | ||||
| real(kind=8) | :: | yppval |
SPLINE_HERMITE_SET sets up a piecewise cubic Hermite interpolant.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | ypdata(ndata) | ||||
| real(kind=8) | :: | c(4,ndata) |
SPLINE_HERMITE_VAL evaluates a piecewise cubic Hermite interpolant.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | c(4,ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | sval | ||||
| real(kind=8) | :: | spval |
SPLINE_LINEAR_INT evaluates the integral of a piecewise linear spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | a | ||||
| real(kind=8) | :: | b | ||||
| real(kind=8) | :: | int_val |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | int_x(n+1) | ||||
| real(kind=8) | :: | int_v(n) | ||||
| real(kind=8) | :: | data_x(n) | ||||
| real(kind=8) | :: | data_y(n) |
SPLINE_LINEAR_VAL evaluates a piecewise linear spline at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval | ||||
| real(kind=8) | :: | ypval |
SPLINE_OVERHAUSER_NONUNI_VAL evaluates the nonuniform Overhauser spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
SPLINE_OVERHAUSER_UNI_VAL evaluates the uniform Overhauser spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval |
SPLINE_OVERHAUSER_VAL evaluates an Overhauser spline.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | dim_num | ||||
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(dim_num,ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval(dim_num) |
SPLINE_PCHIP_SET sets derivatives for a piecewise cubic Hermite interpolant.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x(n) | ||||
| real(kind=8) | :: | f(n) | ||||
| real(kind=8) | :: | d(n) |
SPLINE_PCHIP_VAL evaluates a piecewise cubic Hermite function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | n | ||||
| real(kind=8) | :: | x(n) | ||||
| real(kind=8) | :: | f(n) | ||||
| real(kind=8) | :: | d(n) | ||||
| integer(kind=4) | :: | ne | ||||
| real(kind=8) | :: | xe(ne) | ||||
| real(kind=8) | :: | fe(ne) |
SPLINE_QUADRATIC_VAL evaluates a piecewise quadratic spline at a point.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=4) | :: | ndata | ||||
| real(kind=8) | :: | tdata(ndata) | ||||
| real(kind=8) | :: | ydata(ndata) | ||||
| real(kind=8) | :: | tval | ||||
| real(kind=8) | :: | yval | ||||
| real(kind=8) | :: | ypval |