[in] | M | The number of rows of the matrix A. M >= 0. |
[in] | N | The number of columns of the matrix A. N >= 0. |
[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] | LDA | The leading dimension of the array A. LDA >= max(1,M). |
[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. Uses 1-based indexing for Fortran compatability. |
[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. |