Indices in IPIV array for LU related functions

Open discussion for MAGMA

Indices in IPIV array for LU related functions

Postby jgpallero » Mon Jan 06, 2014 2:24 pm

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 MAGMA, 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
jgpallero
 
Posts: 29
Joined: Tue Nov 15, 2011 12:38 pm

Re: Indices in IPIV array for LU related functions

Postby mgates3 » Tue Jan 07, 2014 12:15 pm

The indices are 1-based, to be compatible with LAPACK.
-mark
mgates3
 
Posts: 427
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests