version 1.12, 2012/08/22 09:48:18
|
version 1.18, 2017/06/17 10:53:55
|
Line 1
|
Line 1
|
*> \brief \b DLAQP2 |
*> \brief \b DLAQP2 computes a QR factorization with column pivoting of the matrix block. |
* |
* |
* =========== DOCUMENTATION =========== |
* =========== DOCUMENTATION =========== |
* |
* |
* Online html documentation available at |
* Online html documentation available at |
* http://www.netlib.org/lapack/explore-html/ |
* http://www.netlib.org/lapack/explore-html/ |
* |
* |
*> \htmlonly |
*> \htmlonly |
*> Download DLAQP2 + dependencies |
*> Download DLAQP2 + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaqp2.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
* |
* |
* SUBROUTINE DLAQP2( M, N, OFFSET, A, LDA, JPVT, TAU, VN1, VN2, |
* SUBROUTINE DLAQP2( M, N, OFFSET, A, LDA, JPVT, TAU, VN1, VN2, |
* WORK ) |
* WORK ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* INTEGER LDA, M, N, OFFSET |
* INTEGER LDA, M, N, OFFSET |
* .. |
* .. |
Line 29
|
Line 29
|
* DOUBLE PRECISION A( LDA, * ), TAU( * ), VN1( * ), VN2( * ), |
* DOUBLE PRECISION A( LDA, * ), TAU( * ), VN1( * ), VN2( * ), |
* $ WORK( * ) |
* $ WORK( * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 67
|
Line 67
|
*> \verbatim |
*> \verbatim |
*> A is DOUBLE PRECISION array, dimension (LDA,N) |
*> A is DOUBLE PRECISION array, dimension (LDA,N) |
*> On entry, the M-by-N matrix A. |
*> On entry, the M-by-N matrix A. |
*> On exit, the upper triangle of block A(OFFSET+1:M,1:N) is |
*> On exit, the upper triangle of block A(OFFSET+1:M,1:N) is |
*> the triangular factor obtained; the elements in block |
*> the triangular factor obtained; the elements in block |
*> A(OFFSET+1:M,1:N) below the diagonal, together with the |
*> A(OFFSET+1:M,1:N) below the diagonal, together with the |
*> array TAU, represent the orthogonal matrix Q as a product of |
*> array TAU, represent the orthogonal matrix Q as a product of |
Line 117
|
Line 117
|
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
*> \author Univ. of Tennessee |
*> \author Univ. of Tennessee |
*> \author Univ. of California Berkeley |
*> \author Univ. of California Berkeley |
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
* |
*> \date November 2011 |
*> \date December 2016 |
* |
* |
*> \ingroup doubleOTHERauxiliary |
*> \ingroup doubleOTHERauxiliary |
* |
* |
Line 142
|
Line 142
|
*> LAPACK Working Note 176 |
*> LAPACK Working Note 176 |
* |
* |
*> \htmlonly |
*> \htmlonly |
*> <a href="http://www.netlib.org/lapack/lawnspdf/lawn176.pdf">[PDF]</a> |
*> <a href="http://www.netlib.org/lapack/lawnspdf/lawn176.pdf">[PDF]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DLAQP2( M, N, OFFSET, A, LDA, JPVT, TAU, VN1, VN2, |
SUBROUTINE DLAQP2( M, N, OFFSET, A, LDA, JPVT, TAU, VN1, VN2, |
$ WORK ) |
$ WORK ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.4.0) -- |
* -- LAPACK auxiliary routine (version 3.7.0) -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2011 |
* December 2016 |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER LDA, M, N, OFFSET |
INTEGER LDA, M, N, OFFSET |
Line 217
|
Line 217
|
CALL DLARFG( 1, A( M, I ), A( M, I ), 1, TAU( I ) ) |
CALL DLARFG( 1, A( M, I ), A( M, I ), 1, TAU( I ) ) |
END IF |
END IF |
* |
* |
IF( I.LE.N ) THEN |
IF( I.LT.N ) THEN |
* |
* |
* Apply H(i)**T to A(offset+i:m,i+1:n) from the left. |
* Apply H(i)**T to A(offset+i:m,i+1:n) from the left. |
* |
* |