Skip to content

Commit 0e91dd3

Browse files
authored
Merge pull request #833 from weslleyspereira/fix-258
Adds comment related to zero-sized matrix B in GELSY
2 parents 9f4b5d2 + b788b4a commit 0e91dd3

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

SRC/cgelsy.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
*> B is COMPLEX array, dimension (LDB,NRHS)
117117
*> On entry, the M-by-NRHS right hand side matrix B.
118118
*> On exit, the N-by-NRHS solution matrix X.
119+
*> If M = 0 or N = 0, B is not referenced.
119120
*> \endverbatim
120121
*>
121122
*> \param[in] LDB
@@ -148,6 +149,7 @@
148149
*> The effective rank of A, i.e., the order of the submatrix
149150
*> R11. This is the same as the order of the submatrix T11
150151
*> in the complete orthogonal factorization of A.
152+
*> If NRHS = 0, RANK = 0 on output.
151153
*> \endverbatim
152154
*>
153155
*> \param[out] WORK

SRC/dgelsy.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
*> B is DOUBLE PRECISION array, dimension (LDB,NRHS)
116116
*> On entry, the M-by-NRHS right hand side matrix B.
117117
*> On exit, the N-by-NRHS solution matrix X.
118+
*> If M = 0 or N = 0, B is not referenced.
118119
*> \endverbatim
119120
*>
120121
*> \param[in] LDB
@@ -147,6 +148,7 @@
147148
*> The effective rank of A, i.e., the order of the submatrix
148149
*> R11. This is the same as the order of the submatrix T11
149150
*> in the complete orthogonal factorization of A.
151+
*> If NRHS = 0, RANK = 0 on output.
150152
*> \endverbatim
151153
*>
152154
*> \param[out] WORK

SRC/sgelsy.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
*> B is REAL array, dimension (LDB,NRHS)
116116
*> On entry, the M-by-NRHS right hand side matrix B.
117117
*> On exit, the N-by-NRHS solution matrix X.
118+
*> If M = 0 or N = 0, B is not referenced.
118119
*> \endverbatim
119120
*>
120121
*> \param[in] LDB
@@ -147,6 +148,7 @@
147148
*> The effective rank of A, i.e., the order of the submatrix
148149
*> R11. This is the same as the order of the submatrix T11
149150
*> in the complete orthogonal factorization of A.
151+
*> If NRHS = 0, RANK = 0 on output.
150152
*> \endverbatim
151153
*>
152154
*> \param[out] WORK

SRC/zgelsy.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
*> B is COMPLEX*16 array, dimension (LDB,NRHS)
117117
*> On entry, the M-by-NRHS right hand side matrix B.
118118
*> On exit, the N-by-NRHS solution matrix X.
119+
*> If M = 0 or N = 0, B is not referenced.
119120
*> \endverbatim
120121
*>
121122
*> \param[in] LDB
@@ -148,6 +149,7 @@
148149
*> The effective rank of A, i.e., the order of the submatrix
149150
*> R11. This is the same as the order of the submatrix T11
150151
*> in the complete orthogonal factorization of A.
152+
*> If NRHS = 0, RANK = 0 on output.
151153
*> \endverbatim
152154
*>
153155
*> \param[out] WORK

0 commit comments

Comments
 (0)