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?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.h

Input Parameters

Name

Type

Description

task

DFTaskPtr

Descriptor of the task.

ptr_attr

const MKL_INT

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

float** for dfsQueryPtr

double** for dfdQueryPtr

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

int

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.