Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7291 ディスカッション

Indices in IPIV array for LU related functions

José_Luis_G_
ビギナー
1,801件の閲覧回数

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 件の賞賛
1 返信
Gregory_H_Intel
従業員
1,801件の閲覧回数

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

返信