df?editptr

Modifies a pointer to an array held in a Data Fitting task descriptor.

Syntax

FORTRAN:

status = dfseditptr(task, ptr_type, ptr)

status = dfdeditptr(task, ptr_type, ptr)

status = dfieditptr(task, ptr_type, ptr)

C:

status = dfsEditPtr(task, ptr_type, ptr)

status = dfdEditPtr(task, ptr_type, ptr)

status = dfiEditPtr(task, ptr_type, ptr)

Include Files

Input Parameters

Name

Type

Description

task

Fortran: TYPE(DF_TASK)

C: DFTaskPtr

Descriptor of the task.

ptr_type

Fortran: INTEGER

C: MKL_INT

The parameter to change. For details, see the Pointer Type column in table "Pointers Supported by the df?editptr Task Editor".

ptr

Fortran: REAL(KIND=4) DIMENSION(*) for dfseditptr

REAL(KIND=8) DIMENSION(*) for dfdeditptr

INTEGER DIMENSION(*) for dfieditptr

C: float* for dfsEditPtr

double* for dfdEditPtr

MKL_INT* for dfiEditPtr

New pointer. For details, see the Purpose column in table "Pointers Supported by the df?editptr Task Editor".

Output Parameters

Name

Type

Description

status

Fortran: INTEGER

C: int

Status of the routine:

Description

The df?editptr editor replaces the pointer of type ptr_type stored in a Data Fitting task descriptor with a new pointer ptr. The table below describes types of pointers supported by the editor:

Pointers Supported by the df?editptr Task Editor

Pointer Type

Purpose

DF_X

Partition x of the interpolation interval

DF_Y

Vector-valued function y

DF_IC

Internal conditions for spline construction. For details, see table "Internal Conditions Supported by Data Fitting Functions".

DF_BC

Boundary conditions for spline construction. For details, see table "Boundary Conditions Supported by Data Fitting Functions".

DF_PP_SCOEFF

Spline coefficients

You can use df?editptr to modify different types of pointers including pointers to the vector-valued function and spline coefficients stored in contiguous memory. Use the df?editidxptr editor if you need to modify pointers to coordinates of the vector-valued function or spline coefficients stored at non-contiguous memory locations.

If you pass a NULL pointer to the df?editptr task editor, the task remains unchanged and the routine returns an error code. For the predefined error codes, please see "Task Status and Error Reporting".


Submit feedback on this help topic