Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6651 Discussions

Indices in IPIV array for LU related functions

José_Luis_G_
Beginner
164 Views

Hello,

All LU (and also QR with column pivoting) related LAPACK functions has as an argument an array IPIV that stores the indices of row (columns for QR) permutations. In the MKL LAPACKE C interface, are the indices of this array 0-based or 1-based, as in Fortran?, i.e., an index for the first row , is stored as 0 or as 1?

Thanks

0 Kudos
1 Reply
Gregory_H_Intel
Employee
164 Views

One-based indices still so that the routines are compatible.

Reply