Skip to content

Commit b4cf815

Browse files
authored
Merge pull request #1156 from TiborGY/fix_gelqt_docs
Fix errors in the documentation of ?gelqt
2 parents 3c1abe4 + 44d9a16 commit b4cf815

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

SRC/cgelqt.f

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*> \param[in] MB
4141
*> \verbatim
4242
*> MB is INTEGER
43-
*> The block size to be used in the blocked QR. MIN(M,N) >= MB >= 1.
43+
*> The block size to be used in the blocked LQ. MIN(M,N) >= MB >= 1.
4444
*> \endverbatim
4545
*>
4646
*> \param[in,out] A
@@ -75,7 +75,10 @@
7575
*>
7676
*> \param[out] WORK
7777
*> \verbatim
78-
*> WORK is COMPLEX array, dimension (MB*N)
78+
*> WORK is COMPLEX array, dimension (MB*M).
79+
*> Note: A smaller workspace of MB*(M-MB) may also be sufficient, but
80+
*> that is yet to be proven. MB*M is a conservative estimate and the
81+
*> recommended value to use.
7982
*> \endverbatim
8083
*>
8184
*> \param[out] INFO
@@ -101,7 +104,7 @@
101104
*> \verbatim
102105
*>
103106
*> The matrix V stores the elementary reflectors H(i) in the i-th row
104-
*> above the diagonal. For example, if M=5 and N=3, the matrix V is
107+
*> above the diagonal. For example, if M=3 and N=5, the matrix V is
105108
*>
106109
*> V = ( 1 v1 v1 v1 v1 )
107110
*> ( 1 v2 v2 v2 )

SRC/dgelqt.f

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
*> \param[in] MB
5454
*> \verbatim
5555
*> MB is INTEGER
56-
*> The block size to be used in the blocked QR. MIN(M,N) >= MB >= 1.
56+
*> The block size to be used in the blocked LQ. MIN(M,N) >= MB >= 1.
5757
*> \endverbatim
5858
*>
5959
*> \param[in,out] A
@@ -88,7 +88,10 @@
8888
*>
8989
*> \param[out] WORK
9090
*> \verbatim
91-
*> WORK is DOUBLE PRECISION array, dimension (MB*N)
91+
*> WORK is DOUBLE PRECISION array, dimension (MB*M).
92+
*> Note: A smaller workspace of MB*(M-MB) may also be sufficient, but
93+
*> that is yet to be proven. MB*M is a conservative estimate and the
94+
*> recommended value to use.
9295
*> \endverbatim
9396
*>
9497
*> \param[out] INFO
@@ -114,7 +117,7 @@
114117
*> \verbatim
115118
*>
116119
*> The matrix V stores the elementary reflectors H(i) in the i-th row
117-
*> above the diagonal. For example, if M=5 and N=3, the matrix V is
120+
*> above the diagonal. For example, if M=3 and N=5, the matrix V is
118121
*>
119122
*> V = ( 1 v1 v1 v1 v1 )
120123
*> ( 1 v2 v2 v2 )

SRC/sgelqt.f

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*> \param[in] MB
4141
*> \verbatim
4242
*> MB is INTEGER
43-
*> The block size to be used in the blocked QR. MIN(M,N) >= MB >= 1.
43+
*> The block size to be used in the blocked LQ. MIN(M,N) >= MB >= 1.
4444
*> \endverbatim
4545
*>
4646
*> \param[in,out] A
@@ -75,7 +75,10 @@
7575
*>
7676
*> \param[out] WORK
7777
*> \verbatim
78-
*> WORK is REAL array, dimension (MB*N)
78+
*> WORK is REAL array, dimension (MB*M).
79+
*> Note: A smaller workspace of MB*(M-MB) may also be sufficient, but
80+
*> that is yet to be proven. MB*M is a conservative estimate and the
81+
*> recommended value to use.
7982
*> \endverbatim
8083
*>
8184
*> \param[out] INFO
@@ -101,7 +104,7 @@
101104
*> \verbatim
102105
*>
103106
*> The matrix V stores the elementary reflectors H(i) in the i-th row
104-
*> above the diagonal. For example, if M=5 and N=3, the matrix V is
107+
*> above the diagonal. For example, if M=3 and N=5, the matrix V is
105108
*>
106109
*> V = ( 1 v1 v1 v1 v1 )
107110
*> ( 1 v2 v2 v2 )

SRC/zgelqt.f

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
*> \param[in] MB
5454
*> \verbatim
5555
*> MB is INTEGER
56-
*> The block size to be used in the blocked QR. MIN(M,N) >= MB >= 1.
56+
*> The block size to be used in the blocked LQ. MIN(M,N) >= MB >= 1.
5757
*> \endverbatim
5858
*>
5959
*> \param[in,out] A
@@ -88,7 +88,10 @@
8888
*>
8989
*> \param[out] WORK
9090
*> \verbatim
91-
*> WORK is COMPLEX*16 array, dimension (MB*N)
91+
*> WORK is COMPLEX*16 array, dimension (MB*M).
92+
*> Note: A smaller workspace of MB*(M-MB) may also be sufficient, but
93+
*> that is yet to be proven. MB*M is a conservative estimate and the
94+
*> recommended value to use.
9295
*> \endverbatim
9396
*>
9497
*> \param[out] INFO
@@ -114,7 +117,7 @@
114117
*> \verbatim
115118
*>
116119
*> The matrix V stores the elementary reflectors H(i) in the i-th row
117-
*> above the diagonal. For example, if M=5 and N=3, the matrix V is
120+
*> above the diagonal. For example, if M=3 and N=5, the matrix V is
118121
*>
119122
*> V = ( 1 v1 v1 v1 v1 )
120123
*> ( 1 v2 v2 v2 )

0 commit comments

Comments
 (0)