--- rpl/lapack/lapack/zgeqr2p.f 2014/01/27 09:28:32 1.11
+++ rpl/lapack/lapack/zgeqr2p.f 2020/05/21 21:46:04 1.17
@@ -2,39 +2,49 @@
*
* =========== DOCUMENTATION ===========
*
-* Online html documentation available at
-* http://www.netlib.org/lapack/explore-html/
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
-*> Download ZGEQR2P + dependencies
-*>
-*> [TGZ]
-*>
-*> [ZIP]
-*>
+*> Download ZGEQR2P + dependencies
+*>
+*> [TGZ]
+*>
+*> [ZIP]
+*>
*> [TXT]
-*> \endhtmlonly
+*> \endhtmlonly
*
* Definition:
* ===========
*
* SUBROUTINE ZGEQR2P( M, N, A, LDA, TAU, WORK, INFO )
-*
+*
* .. Scalar Arguments ..
* INTEGER INFO, LDA, M, N
* ..
* .. Array Arguments ..
* COMPLEX*16 A( LDA, * ), TAU( * ), WORK( * )
* ..
-*
+*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
-*> ZGEQR2P computes a QR factorization of a complex m by n matrix A:
-*> A = Q * R.
+*> ZGEQR2P computes a QR factorization of a complex m-by-n matrix A:
+*>
+*> A = Q * ( R ),
+*> ( 0 )
+*>
+*> where:
+*>
+*> Q is a m-by-m orthogonal matrix;
+*> R is an upper-triangular n-by-n matrix with nonnegative diagonal
+*> entries;
+*> 0 is a (m-n)-by-n zero matrix, if m > n.
+*>
*> \endverbatim
*
* Arguments:
@@ -58,7 +68,8 @@
*> 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,
+*> upper triangular if m >= n). The diagonal entries of R
+*> are real and nonnegative; the elements below the diagonal,
*> with the array TAU, represent the unitary matrix Q as a
*> product of elementary reflectors (see Further Details).
*> \endverbatim
@@ -91,12 +102,12 @@
* Authors:
* ========
*
-*> \author Univ. of Tennessee
-*> \author Univ. of California Berkeley
-*> \author Univ. of Colorado Denver
-*> \author NAG Ltd.
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
-*> \date September 2012
+*> \date November 2019
*
*> \ingroup complex16GEcomputational
*
@@ -116,15 +127,17 @@
*> where tau is a complex scalar, and v is a complex vector with
*> v(1:i-1) = 0 and v(i) = 1; v(i+1:m) is stored on exit in A(i+1:m,i),
*> and tau in TAU(i).
+*>
+*> See Lapack Working Note 203 for details
*> \endverbatim
*>
* =====================================================================
SUBROUTINE ZGEQR2P( M, N, A, LDA, TAU, WORK, INFO )
*
-* -- LAPACK computational routine (version 3.4.2) --
+* -- LAPACK computational routine (version 3.9.0) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
-* September 2012
+* November 2019
*
* .. Scalar Arguments ..
INTEGER INFO, LDA, M, N