Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
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.h

Input Parameters

Name

Type

Description

task

DFTaskPtr

Descriptor of the task.

s_format

const MKL_INT

Spline format. The supported value is DF_PP_SPLINE.

method

const MKL_INT

Construction method. The supported value is DF_METHOD_STD.

Output Parameters

Name

Type

Description

status

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