@@ -290,8 +290,6 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
290290< span class ="cline-any cline-yes "> 32x</ span >
291291< span class ="cline-any cline-yes "> 32x</ span >
292292< span class ="cline-any cline-yes "> 32x</ span >
293- < span class ="cline-any cline-yes "> 32x</ span >
294- < span class ="cline-any cline-yes "> 32x</ span >
295293< span class ="cline-any cline-yes "> 17x</ span >
296294< span class ="cline-any cline-yes "> 17x</ span >
297295< span class ="cline-any cline-yes "> 17x</ span >
@@ -312,6 +310,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
312310< span class ="cline-any cline-yes "> 45x</ span >
313311< span class ="cline-any cline-yes "> 45x</ span >
314312< span class ="cline-any cline-yes "> 45x</ span >
313+ < span class ="cline-any cline-yes "> 45x</ span >
315314< span class ="cline-any cline-yes "> 90x</ span >
316315< span class ="cline-any cline-yes "> 90x</ span >
317316< span class ="cline-any cline-yes "> 90x</ span >
@@ -330,6 +329,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
330329< span class ="cline-any cline-yes "> 51x</ span >
331330< span class ="cline-any cline-yes "> 51x</ span >
332331< span class ="cline-any cline-yes "> 51x</ span >
332+ < span class ="cline-any cline-yes "> 51x</ span >
333333< span class ="cline-any cline-yes "> 102x</ span >
334334< span class ="cline-any cline-yes "> 102x</ span >
335335< span class ="cline-any cline-yes "> 102x</ span >
@@ -384,13 +384,13 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
384384* @param {Array<Function>} x.accessors - array element accessors
385385* @param {integer} strideX - stride length for `x`
386386* @param {NonNegativeInteger} offsetX - starting index for `x`
387- * @param {Object} A - output matrix object
388- * @param {Collection} A.data - output matrix data
387+ * @param {Object} A - input matrix object
388+ * @param {Collection} A.data - input matrix data
389389* @param {Array<Function>} A.accessors - array element accessors
390390* @param {integer} strideA1 - stride of the first dimension of `A`
391391* @param {integer} strideA2 - stride of the second dimension of `A`
392392* @param {NonNegativeInteger} offsetA - starting index for `A`
393- * @returns {Object} output array object
393+ * @returns {Object} input matrix object
394394*
395395* @example
396396* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
@@ -428,8 +428,6 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
428428 getX = x.accessors[ 0 ];
429429 getA = A.accessors[ 0 ];
430430 setA = A.accessors[ 1 ];
431-
432- // Note on variable naming convention: S#, da#, ia#, i# where # corresponds to the loop number, with `0` being the innermost loop...
433431
434432 isrm = isRowMajor( [ strideA1, strideA2 ] );
435433 if ( isrm ) {
@@ -448,8 +446,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
448446 ) {
449447 ix1 = ox;
450448 for ( i1 = 0; i1 < N; i1++ ) {
451- if ( getX( xbuf, ix1 ) !== 0.0 ) {
452- tmp = alpha * getX( xbuf, ix1 );
449+ v = getX( xbuf, ix1 );
450+ if ( v !== 0.0 ) {
451+ tmp = alpha * v;
453452 ia = offsetA + (sa1*i1);
454453 ix0 = ox;
455454 for ( i0 = 0; i0 <= i1; i0++ ) {
@@ -466,8 +465,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
466465 // ( isrm && uplo === 'upper' ) || ( !isrm && uplo === 'lower' )
467466 ix1 = ox;
468467 for ( i1 = 0; i1 < N; i1++ ) {
469- if ( getX( xbuf, ix1 ) !== 0.0 ) {
470- tmp = alpha * getX( xbuf, ix1 );
468+ v = getX( xbuf, ix1 );
469+ if ( v !== 0.0 ) {
470+ tmp = alpha * v;
471471 ia = offsetA + (sa1*i1) + (sa0*i1);
472472 ix0 = ix1;
473473 for ( i0 = i1; i0 < N; i0++ ) {
@@ -493,7 +493,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
493493 < div class ='footer quiet pad2 space-top1 center small '>
494494 Code coverage generated by
495495 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
496- at 2025-07-28T06:12:52.777Z
496+ at 2025-08-13T05:38:32.245Z
497497 </ div >
498498 < script src ="../../../../prettify.js "> </ script >
499499 < script >
0 commit comments