df?construct1d

Constructs a spline of the given type.

Syntax

FORTRAN:

status = dfsconstruct1d(task, s_format, method)

status = dfdconstruct1d(task, s_format, method)

C:

status = dfsConstruct1D(task, s_format, method)

status = dfdConstruct1D(task, s_format, method)

Include Files

Input Parameters

Name

Type

Description

task

Fortran: TYPE(DF_TASK)

C: DFTaskPtr

Descriptor of the task.

s_format

Fortran: INTEGER

C: MKL_INT

Spline format. The supported value is DF_PP_SPLINE.

method

Fortran: INTEGER

C: MKL_INT

Construction method. The supported value is DF_METHOD_STD.

Output Parameters

Name

Type

Description

status

Fortran: INTEGER

C: int

Status of the routine:

  • DF_STATUS_OK if the routine execution completed successfully.
  • Non-zero error code if the routine execution failed. See "Task Status and Error Reporting" for error code definitions.

Description

Before calling df?construct1d, you need to create and initialize the task, and set the parameters representing the spline. Then you can call the df?construct1d routine to construct the spline. The format of the spline is defined by parameter s_format. The method for spline construction is defined by parameter method. Upon successful construction, the spline coefficients are available in the user-provided memory location in the format you set through the Data Fitting editor. For the available storage formats, see table "Hint Values for Spline Coefficients".


Submit feedback on this help topic