Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content

Trigonometric Transform Routines

In addition to the Fast Fourier Transform (FFT) interface, described in Fast Fourier Transforms,
Intel® oneAPI Math Kernel Library
supports theReal Discrete Trigonometric Transforms (sometimes called real-to-real Discrete Fourier Transforms) interface. In this document, the interface is referred to as TT interface. It implements a group of routines (TT routines) used to compute sine/cosine, staggered sine/cosine, and twice staggered sine/cosine transforms (referred to as staggered2 sine/cosine transforms, for brevity). The TT interface provides much flexibility of use: you can adjust routines to your particular needs at the cost of manually tuning routine parameters or just call routines with default parameter values. The current
Intel® oneAPI Math Kernel Library
implementation of the TT interface can be used in solving partial differential equations and contains routines that are helpful for Fast Poisson and similar solvers.
For the list of Trigonometric Transforms currently implemented in
Intel® oneAPI Math Kernel Library
TT interface, seeTransforms Implemented.
If you have got used to the FFTW interface (, you can call the TT interface functions through real-to-real FFTW to
Intel® oneAPI Math Kernel Library
wrappers without changing FFTW function calls in your code (refer toFFTW to Intel® MKL Wrappers for FFTW 3.x for details). However, you are strongly encouraged to use the native TT interface for better performance. Another reason why you should use the wrappers cautiously is that TT and the real-to-real FFTW interfaces are not fully compatible and some features of the real-to-real FFTW, such as strides and multidimensional transforms, are not available through wrappers.

Product and Performance Information


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 reserverd 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