Compiling and Running Examples
The examples contain sample input data in their body.
C and Fortran examples for the same routine contain exactly the same input data and should produce the same output, with possible differences in the amount of white spaces. For -0.00 and 0.00 (signed and unsigned zero), you can safely ignore these differences. The same input data is provided for double and single precision examples, for example, dgels and sgels, or cgeev and zgeev. The output of the same routine in different precisions should differ only after several digits in mantissa, because single precision routines provide less precise results than double precision routines.
Open an example topic by clicking the respective routine name in any list of routines in the API section.
Compile and link with your LAPACK software (oneMKL or any other LAPACK implementation), using a related compiler. For example, use a C compiler for the C examples. You can make use of the web-based Intel® oneAPI Math Kernel Library Link Line Advisor to create a correct link line.
Run the compiled example.
Did you find the information on this page useful?