df?QueryPtr
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 . For details, see the df?EditPtr Task Editor"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.