Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Computes a QR factorization with column pivoting of the matrix block.
call slaqp2( m, n, offset, a, lda, jpvt, tau, vn1, vn2, work )
call dlaqp2( m, n, offset, a, lda, jpvt, tau, vn1, vn2, work )
call claqp2( m, n, offset, a, lda, jpvt, tau, vn1, vn2, work )
call zlaqp2( m, n, offset, a, lda, jpvt, tau, vn1, vn2, work )
The routine computes a QR factorization with column pivoting of the block A(offset+1:m,1:n). The block A(1:offset,1:n) is accordingly pivoted, but not factorized.
INTEGER. The number of rows of the matrix A. m≥ 0.
INTEGER. The number of columns of the matrix A. n≥ 0.
INTEGER. The number of rows of the matrix A that must be pivoted but no factorized. offset≥ 0.
REAL for slaqp2
DOUBLE PRECISION for dlaqp2
COMPLEX for claqp2
DOUBLE COMPLEX for zlaqp2
Array, DIMENSION (lda,n). On entry, the m-by-n matrix A.
INTEGER. The leading dimension of the array a. lda≥ max(1,m).
INTEGER.
Array, DIMENSION (n).
On entry, if jpvt(i) ≠ 0, the i-th column of A is permuted to the front of A*P (a leading column); if jpvt(i) = 0, the i-th column of A is a free column.
REAL for slaqp2/claqp2
DOUBLE PRECISION for dlaqp2/zlaqp2
Arrays, DIMENSION (n) each. Contain the vectors with the partial and exact column norms, respectively.
REAL for slaqp2
DOUBLE PRECISION for dlaqp2
COMPLEX for claqp2
DOUBLE COMPLEX for zlaqp2 Workspace array, DIMENSION (n).
On exit, the upper triangle of block A(offset+1:m,1:n) is the triangular factor obtained; the elements in block A(offset+1:m,1:n) below the diagonal, together with the array tau, represent the orthogonal matrix Q as a product of elementary reflectors. Block A(1:offset,1:n) has been accordingly pivoted, but not factorized.
On exit, if jpvt(i) = k, then the i-th column of A*P was the k-th column of A.
REAL for slaqp2
DOUBLE PRECISION for dlaqp2
COMPLEX for claqp2
DOUBLE COMPLEX for zlaqp2
Array, DIMENSION(min(m,n)).
The scalar factors of the elementary reflectors.
Contain the vectors with the partial and exact column norms, respectively.