Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 11/07/2023
Public

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

Document Table of Contents

df?queryptr

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

Syntax

status = dfsqueryptr(task, ptr_attr, ptr)

status = dfdqueryptr(task, ptr_attr, ptr)

Include Files

  • mkl_df.f90

Input Parameters

Name

Type

Description

task

TYPE(DF_TASK)

Descriptor of the task.

ptr_attr

INTEGER

The parameter to query. The query routine supports pointer attributes described in the table "Pointers Supported by the df?editptr Task Editor". For details, see the Pointer Attribute column in the table.

Output Parameters

Name

Type

Description

ptr

INTEGER(KIND=8)

Pointer to array returned by the query routine. For details, see the Purpose column in table "Pointers Supported by the df?editptr Task Editor".

status

INTEGER

Status of the routine:

Description

The df?queryptr routine returns the pointer of type ptr_attr stored in a Data Fitting task descriptor as parameter ptr. Attributes of the pointers supported by the query function are identical to those supported by the editor df?editptr editor in the table "Pointers Supported by the df?editptr Task Editor".

You can use df?queryptr to read different types of pointers including pointers to the vector-valued function and spline coefficients stored in contiguous memory.