[in,out] | A | On entry, the M-by-N matrix A. On exit, the elements on and above the diagonal of the array contain the min(M,N)-by-N upper trapezoidal matrix R (R is upper triangular if M >= N); the elements below the diagonal represent the unitary matrix Q as a product of elementary reflectors stored by tiles. |
[in,out] | jpvt | Integer array of dimension N. On exit, if jpvt(j)=k, then the j-th column of A*P was the k-th column of A. |
[out] | tau | On exit, scalars that define Householder reflectors, size n. |
[out] | work | Workspace of size (n + 1)*nb. |
[out] | rwork | Workspace of size 2*n. |