The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Apply permutation matrix

Open discussion regarding features, bugs, issues, vendors, etc.

Apply permutation matrix

Postby jgpallero » Sun Aug 15, 2010 8:14 am

Hi,
Exist any subroutine in lapack for apply a permutation matrix to another matrix without build and multiply the matrices explicitly? That is, for example, I can apply the permutation matrix of LU decomposition (IPIV from DGETRF) via DLASWP subroutine because IPIV is a representation of internal row interchanges. But, what about the JPVT vector from DGEQP3? For that I can't use DLSWP. Exist any function for apply this?

Thanks
jgpallero
 
Posts: 27
Joined: Thu Jul 29, 2010 2:29 pm
Location: Madrid, Spain

Re: Apply permutation matrix

Postby Julien Langou » Sun Aug 15, 2010 12:55 pm

You can apply the column permutation of xGEQP3 with xSWAP.
For an example, please refer to the xGEQP3 itself.
Julien.
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 7 guests