Skip to content

Commit 2983298

Browse files
authored
Merge pull request #843 from weslleyspereira/fix-248
Updates the documentation of xGEMV and xGBMV related to when M=0 and N=0
2 parents 9138a87 + 658ac9d commit 2983298

File tree

16 files changed

+32
-0
lines changed

16 files changed

+32
-0
lines changed

BLAS/SRC/cgbmv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@
148148
*> ( 1 + ( n - 1 )*abs( INCY ) ) otherwise.
149149
*> Before entry, the incremented array Y must contain the
150150
*> vector y. On exit, Y is overwritten by the updated vector y.
151+
*> If either m or n is zero, then Y not referenced and the function
152+
*> performs a quick return.
151153
*> \endverbatim
152154
*>
153155
*> \param[in] INCY

BLAS/SRC/cgemv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@
119119
*> Before entry with BETA non-zero, the incremented array Y
120120
*> must contain the vector y. On exit, Y is overwritten by the
121121
*> updated vector y.
122+
*> If either m or n is zero, then Y not referenced and the function
123+
*> performs a quick return.
122124
*> \endverbatim
123125
*>
124126
*> \param[in] INCY

BLAS/SRC/dgbmv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@
146146
*> ( 1 + ( n - 1 )*abs( INCY ) ) otherwise.
147147
*> Before entry, the incremented array Y must contain the
148148
*> vector y. On exit, Y is overwritten by the updated vector y.
149+
*> If either m or n is zero, then Y not referenced and the function
150+
*> performs a quick return.
149151
*> \endverbatim
150152
*>
151153
*> \param[in] INCY

BLAS/SRC/dgemv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
*> Before entry with BETA non-zero, the incremented array Y
118118
*> must contain the vector y. On exit, Y is overwritten by the
119119
*> updated vector y.
120+
*> If either m or n is zero, then Y not referenced and the function
121+
*> performs a quick return.
120122
*> \endverbatim
121123
*>
122124
*> \param[in] INCY

BLAS/SRC/sgbmv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@
146146
*> ( 1 + ( n - 1 )*abs( INCY ) ) otherwise.
147147
*> Before entry, the incremented array Y must contain the
148148
*> vector y. On exit, Y is overwritten by the updated vector y.
149+
*> If either m or n is zero, then Y not referenced and the function
150+
*> performs a quick return.
149151
*> \endverbatim
150152
*>
151153
*> \param[in] INCY

BLAS/SRC/sgemv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
*> Before entry with BETA non-zero, the incremented array Y
118118
*> must contain the vector y. On exit, Y is overwritten by the
119119
*> updated vector y.
120+
*> If either m or n is zero, then Y not referenced and the function
121+
*> performs a quick return.
120122
*> \endverbatim
121123
*>
122124
*> \param[in] INCY

BLAS/SRC/zgbmv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@
148148
*> ( 1 + ( n - 1 )*abs( INCY ) ) otherwise.
149149
*> Before entry, the incremented array Y must contain the
150150
*> vector y. On exit, Y is overwritten by the updated vector y.
151+
*> If either m or n is zero, then Y not referenced and the function
152+
*> performs a quick return.
151153
*> \endverbatim
152154
*>
153155
*> \param[in] INCY

BLAS/SRC/zgemv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@
119119
*> Before entry with BETA non-zero, the incremented array Y
120120
*> must contain the vector y. On exit, Y is overwritten by the
121121
*> updated vector y.
122+
*> If either m or n is zero, then Y not referenced and the function
123+
*> performs a quick return.
122124
*> \endverbatim
123125
*>
124126
*> \param[in] INCY

SRC/cla_gbamv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@
158158
*> Before entry with BETA non-zero, the incremented array Y
159159
*> must contain the vector y. On exit, Y is overwritten by the
160160
*> updated vector y.
161+
*> If either m or n is zero, then Y not referenced and the function
162+
*> performs a quick return.
161163
*> \endverbatim
162164
*>
163165
*> \param[in] INCY

SRC/cla_geamv.f

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
*> Before entry with BETA non-zero, the incremented array Y
148148
*> must contain the vector y. On exit, Y is overwritten by the
149149
*> updated vector y.
150+
*> If either m or n is zero, then Y not referenced and the function
151+
*> performs a quick return.
150152
*> \endverbatim
151153
*>
152154
*> \param[in] INCY

0 commit comments

Comments
 (0)