IPIV array in LU related functions

Open forum for general discussions relating to PLASMA.

IPIV array in LU related functions

Postby jgpallero » Mon Jan 06, 2014 2:19 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 PLASMA, 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
Last edited by jgpallero on Mon Jan 06, 2014 2:24 pm, edited 1 time in total.
jgpallero
 
Posts: 29
Joined: Sat Jul 28, 2012 12:12 pm

Re: IPOV array in LU related functions

Postby admin » Mon Jan 06, 2014 2:22 pm

The principle is LAPACK compatibility, meaning indices starting from 1.
admin
Site Admin
 
Posts: 79
Joined: Wed May 13, 2009 1:27 pm

Re: IPIV array in LU related functions

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

Thanks! :)
jgpallero
 
Posts: 29
Joined: Sat Jul 28, 2012 12:12 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron