Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

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

Trigonometric Transform Interface Description

All types in this documentation are either standard C types float and double or MKL_INT integer type. Fortran users can call the routines with REAL and DOUBLE PRECISION types of floating-point values and INTEGER or INTEGER*8 integer type depending on the programming interface (LP64 or ILP64). To better understand usage of the types, see examples in the examples\pdettf\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).