Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
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

Trigonometric Transform Interface Description

All types in this documentation are either standard C types float and double or MKL_INT integer type. For more information on the C types, refer to C Datatypes Specific to oneMKL and the Intel® oneAPI Math Kernel Library (oneMKL) Developer Guide. To better understand usage of the types, see examples in the examples\pdettc\source folderin your Intel® oneAPI Math Kernel Library (oneMKL) directory.

Routine Options

All TT routines use parameters to pass various options to one another. These parameters are arrays ipar, dpar and spar. Values for these parameters should be specified very carefully (see Common Parameters). You can change these values during computations to meet your needs.

warning:

To avoid failure or incorrect results, you must provide correct and consistent parameters to the routines.

User Data Arrays

TT routines take arrays of user data as input. For example, user arrays are passed to the routine d_forward_trig_transformto compute a forward Trigonometric Transform. To minimize storage requirements and improve the overall run-time efficiency, Intel® oneAPI Math Kernel Library (oneMKL) TT routines do not make copies of user input arrays.

NOTE:

If you need a copy of your input data arrays, you must save them yourself.

For better performance, align your data arrays as recommended in the Intel® oneAPI Math Kernel Library (oneMKL) Developer Guide (search the document for coding techniques to improve performance).