Developer Reference

Contents

df?InterpCallBack

A callback function for user-defined interpolation to be passed into
df?InterpolateEx1D
.

Syntax

status
=
dfsInterpCallBack
(
n
,
cell
,
site
,
r
,
user_params
,
library_params
)
status
=
dfdInterpCallBack
(
n
,
cell
,
site
,
r
,
user_params
,
library_params
)
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
n
long long*
Number of interpolation sites.
cell
long long*
Array of size
n
containing indices of the cells to which the interpolation sites in array
site
belong.
site
float*
for
dfsInterpCallBack
double*
for
dfdInterpCallBack
Array of interpolation sites of size
n
.
user_params
void*
Pointer to user-defined parameters of the callback function.
library_params
dfInterpCallBackLibraryParams*
Pointer to library-defined parameters of the callback function.
Output Parameters
Name
Type
Description
status
int
The status returned by the callback function:
  • Zero indicates successful completion of the callback operation.
  • A negative value indicates an error.
  • A positive value indicates a warning.
See "Task Status and Error Reporting" for error code definitions.
r
float*
for
dfsInterpCallBack
double*
for
dfdInterpCallBack
Array of the computed interpolation results packed in row-major format.
Description
When passed into the
df?InterpolateEx1D
routine, this function performs user-defined interpolation operation.
The
library_params
parameter allows the library to provide extra parameters. Currently no parameters are provided.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804