Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

df?editppspline1d

Modifies parameters representing a spline in a Data Fitting task descriptor.

Syntax

status
=
dfseditppspline1d
(
task
,
s_order
,
s_type
,
bc_type
,
bc
,
ic_type
,
ic
,
scoeff
,
scoeffhint
)
status
=
dfdeditppspline1d
(
task
,
s_order
,
s_type
,
bc_type
,
bc
,
ic_type
,
ic
,
scoeff
,
scoeffhint
)
Include Files
  • mkl_df.f90
Input Parameters
Name
Type
Description
task
TYPE(DF_TASK)
Descriptor of the task.
s_order
INTEGER
Spline order.
The parameter takes one of the values described in table
"Spline Orders Supported by Data Fitting Functions"
.
s_type
INTEGER
Spline type.
The parameter takes one of the values described in table
"Spline Types Supported by Data Fitting Functions"
.
bc_type
INTEGER
Type of boundary conditions.
The parameter takes one of the values described in table
"Boundary Conditions Supported by Data Fitting Functions"
.
bc
REAL(KIND=4) DIMENSION(*)
for
dfseditppspline1d
REAL(KIND=8) DIMENSION(*)
for
dfdeditppspline1d
Pointer to boundary conditions. The size of the array is defined by the value of parameter
bc_type
:
  • If you set free-end or not-a-knot boundary conditions, pass the
    NULL
    pointer to this parameter.
  • If you combine boundary conditions at the endpoints of the interpolation interval, pass an array of two elements.
  • If you set a boundary condition for the default quadratic spline or a periodic condition for Hermite or the default cubic spline, pass an array of one element.
ic_type
INTEGER
Type of internal conditions.
The parameter takes one of the values described in table
"Internal Conditions Supported by Data Fitting Functions"
.
ic
REAL(KIND=4) DIMENSION(*)
for
dfseditppspline1d
REAL(KIND=8) DIMENSION(*)
for
dfdeditppspline1d
A non-
NULL
pointer to the array of internal conditions. The size of the array is defined by the value of parameter
ic_type
:
  • If you set
    first derivatives
    or
    second derivatives
    internal conditions (
    ic_type
    =
    DF_IC_1ST_DER
    or
    ic_type
    =
    DF_IC_2ND_DER
    ), pass an array of
    n
    -1 derivative values at the internal points of the interpolation interval.
  • If you set the
    knot values
    internal condition for Subbotin spline (
    ic_type
    =
    DF_IC_Q_KNOT
    ) and the knot partition is non-uniform, pass an array of
    n
    +1 elements.
  • If you set the
    knot values
    internal condition for Subbotin spline (
    ic_type
    =
    DF_IC_Q_KNOT
    ) and the knot partition is uniform, pass an array of four elements.
scoeff
REAL(KIND=4) DIMENSION(*)
for
dfseditppspline1d
REAL(KIND=8) DIMENSION(*)
for
dfdeditppspline1d
Spline coefficients. An array of size
ny
*
s_order
*(
nx
-1)
. The storage format of the coefficients in the array is defined by the value of flag
scoeffhint
.
scoeffhint
INTEGER
A flag describing the structure of the array of spline coefficients.
For valid hint values, see table
"Hint Values for Spline Coefficients"
.
The library stores the coefficients in row-major format. The default value is