Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

df?construct1d

Syntax

Constructs a spline of the given type.

status = dfsconstruct1d(task, s_format, method)

status = dfdconstruct1d(task, s_format, method)

Include Files

  • mkl_df.f90

Input Parameters

Name

Type

Description

task

TYPE(DF_TASK)

Descriptor of the task.

s_format

INTEGER

Spline format. The supported value is DF_PP_SPLINE.

method

INTEGER

Construction method. The supported value is DF_METHOD_STD.

Output Parameters

Name

Type

Description

status

INTEGER

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".