Skip to content

Commit c8bb536

Browse files
committed
Update artifacts
1 parent a577c24 commit c8bb536

File tree

9 files changed

+60
-45
lines changed

9 files changed

+60
-45
lines changed

blas/base/ssyr2/base.js.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
2525
<div class='fl pad1y space-right2'>
2626
<span class="strong">100% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>133/133</span>
28+
<span class='fraction'>135/135</span>
2929
</div>
3030

3131

@@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
4646
<div class='fl pad1y space-right2'>
4747
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>133/133</span>
49+
<span class='fraction'>135/135</span>
5050
</div>
5151

5252

@@ -196,7 +196,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
196196
<a name='L131'></a><a href='#L131'>131</a>
197197
<a name='L132'></a><a href='#L132'>132</a>
198198
<a name='L133'></a><a href='#L133'>133</a>
199-
<a name='L134'></a><a href='#L134'>134</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">3x</span>
199+
<a name='L134'></a><a href='#L134'>134</a>
200+
<a name='L135'></a><a href='#L135'>135</a>
201+
<a name='L136'></a><a href='#L136'>136</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">3x</span>
200202
<span class="cline-any cline-yes">3x</span>
201203
<span class="cline-any cline-yes">3x</span>
202204
<span class="cline-any cline-yes">3x</span>
@@ -299,6 +301,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
299301
<span class="cline-any cline-yes">132x</span>
300302
<span class="cline-any cline-yes">132x</span>
301303
<span class="cline-any cline-yes">132x</span>
304+
<span class="cline-any cline-yes">132x</span>
302305
<span class="cline-any cline-yes">66x</span>
303306
<span class="cline-any cline-yes">66x</span>
304307
<span class="cline-any cline-yes">66x</span>
@@ -318,6 +321,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
318321
<span class="cline-any cline-yes">144x</span>
319322
<span class="cline-any cline-yes">144x</span>
320323
<span class="cline-any cline-yes">144x</span>
324+
<span class="cline-any cline-yes">144x</span>
321325
<span class="cline-any cline-yes">72x</span>
322326
<span class="cline-any cline-yes">72x</span>
323327
<span class="cline-any cline-yes">72x</span>
@@ -379,12 +383,12 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
379383
* @example
380384
* var Float32Array = require( '@stdlib/array/float32' );
381385
*
382-
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0 ], [ 0.0, 0.0, 1.0 ] ]
386+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
383387
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
384388
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
385389
*
386390
* ssyr2( 'upper', 3, 1.0, x, 1, 0, y, 1, 0, A, 3, 1, 0 );
387-
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 0.0, 9.0, 14.0, 0.0, 0.0, 19.0 ]
391+
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
388392
*/
389393
function ssyr2( uplo, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, strideA1, strideA2, offsetA ) { // eslint-disable-line max-len, max-params
390394
var tmp1;
@@ -398,7 +402,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
398402
var sa1;
399403
var i0;
400404
var i1;
401-
var oa;
405+
var ia;
402406
var ox;
403407
var oy;
404408
&nbsp;
@@ -424,13 +428,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
424428
if ( ( x[ ix1 ] !== 0.0 ) || ( y[ iy1 ] !== 0.0 ) ) {
425429
tmp1 = f32( alpha * y[ iy1 ] );
426430
tmp2 = f32( alpha * x[ ix1 ] );
427-
oa = offsetA + (sa1*i1);
431+
ia = offsetA + ( sa1*i1 );
428432
ix0 = ox;
429433
iy0 = oy;
430434
for ( i0 = 0; i0 &lt;= i1; i0++ ) {
431-
A[ oa+(sa0*i0) ] += f32( f32( x[ ix0 ] * tmp1 ) + f32( y[ iy0 ] * tmp2 ) ); // eslint-disable-line max-len
435+
A[ ia ] += f32( f32( x[ix0]*tmp1 ) + f32( y[iy0]*tmp2 ) );
432436
ix0 += strideX;
433437
iy0 += strideY;
438+
ia += sa0;
434439
}
435440
}
436441
ix1 += strideX;
@@ -443,13 +448,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
443448
if ( ( x[ ix1 ] !== 0.0 ) || ( y[ iy1 ] !== 0.0 ) ) {
444449
tmp1 = f32( alpha * y[ iy1 ] );
445450
tmp2 = f32( alpha * x[ ix1 ] );
446-
oa = offsetA + (sa1*i1);
451+
ia = offsetA + ( sa1*i1 ) + ( sa0*i1 );
447452
ix0 = ix1;
448453
iy0 = iy1;
449454
for ( i0 = i1; i0 &lt; N; i0++ ) {
450-
A[ oa+(sa0*i0) ] += f32( f32( x[ ix0 ] * tmp1 ) + f32( y[ iy0 ] * tmp2 ) ); // eslint-disable-line max-len
455+
A[ ia ] += f32( f32( x[ix0]*tmp1 ) + f32( y[iy0]*tmp2 ) );
451456
ix0 += strideX;
452457
iy0 += strideY;
458+
ia += sa0;
453459
}
454460
}
455461
ix1 += strideX;
@@ -469,7 +475,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
469475
<div class='footer quiet pad2 space-top1 center small'>
470476
Code coverage generated by
471477
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
472-
at 2025-08-19T13:46:10.494Z
478+
at 2025-08-28T01:04:35.231Z
473479
</div>
474480
<script src="../../../../prettify.js"></script>
475481
<script>

blas/base/ssyr2/coverage.ndjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[628,628,100,91,91,100,5,5,100,628,628,100,"dbe5a8d2d5e3e83a566f08c1f9408c13c6de427d","2025-08-19 19:14:21 +0530"]
1+
[633,633,100,91,91,100,5,5,100,633,633,100,"39d15cf9fd04e585bd5c329519248afdec1f9a65","2025-08-27 18:00:36 -0700"]

blas/base/ssyr2/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
2525
<div class='fl pad1y space-right2'>
2626
<span class="strong">100% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>628/628</span>
28+
<span class='fraction'>633/633</span>
2929
</div>
3030

3131

@@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
4646
<div class='fl pad1y space-right2'>
4747
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>628/628</span>
49+
<span class='fraction'>633/633</span>
5050
</div>
5151

5252

@@ -84,13 +84,13 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
8484
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
8585
</td>
8686
<td data-value="100" class="pct high">100%</td>
87-
<td data-value="133" class="abs high">133/133</td>
87+
<td data-value="135" class="abs high">135/135</td>
8888
<td data-value="100" class="pct high">100%</td>
8989
<td data-value="16" class="abs high">16/16</td>
9090
<td data-value="100" class="pct high">100%</td>
9191
<td data-value="1" class="abs high">1/1</td>
9292
<td data-value="100" class="pct high">100%</td>
93-
<td data-value="133" class="abs high">133/133</td>
93+
<td data-value="135" class="abs high">135/135</td>
9494
</tr>
9595

9696
<tr>
@@ -129,13 +129,13 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
129129
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
130130
</td>
131131
<td data-value="100" class="pct high">100%</td>
132-
<td data-value="92" class="abs high">92/92</td>
132+
<td data-value="93" class="abs high">93/93</td>
133133
<td data-value="100" class="pct high">100%</td>
134134
<td data-value="17" class="abs high">17/17</td>
135135
<td data-value="100" class="pct high">100%</td>
136136
<td data-value="1" class="abs high">1/1</td>
137137
<td data-value="100" class="pct high">100%</td>
138-
<td data-value="92" class="abs high">92/92</td>
138+
<td data-value="93" class="abs high">93/93</td>
139139
</tr>
140140

141141
<tr>
@@ -159,13 +159,13 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
159159
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
160160
</td>
161161
<td data-value="100" class="pct high">100%</td>
162-
<td data-value="106" class="abs high">106/106</td>
162+
<td data-value="108" class="abs high">108/108</td>
163163
<td data-value="100" class="pct high">100%</td>
164164
<td data-value="20" class="abs high">20/20</td>
165165
<td data-value="100" class="pct high">100%</td>
166166
<td data-value="1" class="abs high">1/1</td>
167167
<td data-value="100" class="pct high">100%</td>
168-
<td data-value="106" class="abs high">106/106</td>
168+
<td data-value="108" class="abs high">108/108</td>
169169
</tr>
170170

171171
<tr>
@@ -191,7 +191,7 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
191191
<div class='footer quiet pad2 space-top1 center small'>
192192
Code coverage generated by
193193
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
194-
at 2025-08-19T13:46:10.494Z
194+
at 2025-08-28T01:04:35.231Z
195195
</div>
196196
<script src="../../../../prettify.js"></script>
197197
<script>

blas/base/ssyr2/index.js.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,23 +236,23 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
236236
* var Float32Array = require( '@stdlib/array/float32' );
237237
* var ssyr2 = require( '@stdlib/blas/base/ssyr2' );
238238
*
239-
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0 ], [ 0.0, 0.0, 1.0 ] ]
239+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
240240
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
241241
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
242242
*
243243
* ssyr2( 'row-major', 'upper', 3, 1.0, x, 1, y, 1, A, 3 );
244-
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 0.0, 9.0, 14.0, 0.0, 0.0, 19.0 ]
244+
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
245245
*
246246
* @example
247247
* var Float32Array = require( '@stdlib/array/float32' );
248248
* var ssyr2 = require( '@stdlib/blas/base/ssyr2' );
249249
*
250-
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0 ], [ 0.0, 0.0, 1.0 ] ]
250+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
251251
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
252252
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
253253
*
254254
* ssyr2.ndarray( 'upper', 3, 1.0, x, 1, 0, y, 1, 0, A, 3, 1, 0 );
255-
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 0.0, 9.0, 14.0, 0.0, 0.0, 19.0 ]
255+
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
256256
*/
257257
&nbsp;
258258
// MODULES //
@@ -286,7 +286,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
286286
<div class='footer quiet pad2 space-top1 center small'>
287287
Code coverage generated by
288288
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
289-
at 2025-08-19T13:46:10.494Z
289+
at 2025-08-28T01:04:35.231Z
290290
</div>
291291
<script src="../../../../prettify.js"></script>
292292
<script>

blas/base/ssyr2/main.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
175175
<div class='footer quiet pad2 space-top1 center small'>
176176
Code coverage generated by
177177
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
178-
at 2025-08-19T13:46:10.494Z
178+
at 2025-08-28T01:04:35.231Z
179179
</div>
180180
<script src="../../../../prettify.js"></script>
181181
<script>

blas/base/ssyr2/ndarray.js.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
2525
<div class='fl pad1y space-right2'>
2626
<span class="strong">100% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>92/92</span>
28+
<span class='fraction'>93/93</span>
2929
</div>
3030

3131

@@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
4646
<div class='fl pad1y space-right2'>
4747
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>92/92</span>
49+
<span class='fraction'>93/93</span>
5050
</div>
5151

5252

@@ -155,7 +155,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
155155
<a name='L90'></a><a href='#L90'>90</a>
156156
<a name='L91'></a><a href='#L91'>91</a>
157157
<a name='L92'></a><a href='#L92'>92</a>
158-
<a name='L93'></a><a href='#L93'>93</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
158+
<a name='L93'></a><a href='#L93'>93</a>
159+
<a name='L94'></a><a href='#L94'>94</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
159160
<span class="cline-any cline-yes">2x</span>
160161
<span class="cline-any cline-yes">2x</span>
161162
<span class="cline-any cline-yes">2x</span>
@@ -237,6 +238,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
237238
<span class="cline-any cline-yes">46x</span>
238239
<span class="cline-any cline-yes">1x</span>
239240
<span class="cline-any cline-yes">1x</span>
241+
<span class="cline-any cline-yes">35x</span>
240242
<span class="cline-any cline-yes">46x</span>
241243
<span class="cline-any cline-yes">4x</span>
242244
<span class="cline-any cline-yes">4x</span>
@@ -303,16 +305,16 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
303305
* @example
304306
* var Float32Array = require( '@stdlib/array/float32' );
305307
*
306-
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 0.0, 1.0, 2.0 ], [ 0.0, 0.0, 1.0 ] ]
308+
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 2.0, 1.0, 2.0, 3.0, 2.0, 1.0 ] ); // =&gt; [ [ 1.0, 2.0, 3.0 ], [ 2.0, 1.0, 2.0 ], [ 3.0, 2.0, 1.0 ] ]
307309
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
308310
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
309311
*
310312
* ssyr2( 'upper', 3, 1.0, x, 1, 0, y, 1, 0, A, 3, 1, 0 );
311-
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 0.0, 9.0, 14.0, 0.0, 0.0, 19.0 ]
313+
* // A =&gt; &lt;Float32Array&gt;[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
312314
*/
313315
function ssyr2( uplo, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, strideA1, strideA2, offsetA ) { // eslint-disable-line max-len, max-params
314316
if ( !isMatrixTriangle( uplo ) ) {
315-
throw new TypeError( format( 'invalid argument. First argument must specify whether the reference the lower or upper triangular matrix. Value: `%s`.', uplo ) );
317+
throw new TypeError( format( 'invalid argument. First argument must specify whether to reference the lower or upper triangular matrix. Value: `%s`.', uplo ) );
316318
}
317319
if ( N &lt; 0 ) {
318320
throw new RangeError( format( 'invalid argument. Second argument must be a nonnegative integer. Value: `%d`.', N ) );
@@ -329,6 +331,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
329331
if ( strideA2 === 0 ) {
330332
throw new RangeError( format( 'invalid argument. Twelfth argument must be non-zero. Value: `%d`.', strideA2 ) );
331333
}
334+
// Check if we can early return...
332335
if ( N === 0 || alpha === 0.0 ) {
333336
return A;
334337
}
@@ -346,7 +349,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
346349
<div class='footer quiet pad2 space-top1 center small'>
347350
Code coverage generated by
348351
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
349-
at 2025-08-19T13:46:10.494Z
352+
at 2025-08-28T01:04:35.231Z
350353
</div>
351354
<script src="../../../../prettify.js"></script>
352355
<script>

blas/base/ssyr2/ndarray.native.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
319319
*/
320320
function ssyr2( uplo, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, strideA1, strideA2, offsetA ) { // eslint-disable-line max-len, max-params
321321
if ( !isMatrixTriangle( uplo ) ) {
322-
throw new TypeError( format( 'invalid argument. First argument must specify whether the reference the lower or upper triangular matrix. Value: `%s`.', uplo ) );
322+
throw new TypeError( format( 'invalid argument. First argument must specify whether to reference the lower or upper triangular matrix. Value: `%s`.', uplo ) );
323323
}
324324
if ( N &lt; 0 ) {
325325
throw new RangeError( format( 'invalid argument. Second argument must be a nonnegative integer. Value: `%d`.', N ) );
@@ -355,7 +355,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">blas/b
355355
<div class='footer quiet pad2 space-top1 center small'>
356356
Code coverage generated by
357357
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
358-
at 2025-08-19T13:46:10.494Z
358+
at 2025-08-28T01:04:35.231Z
359359
</div>
360360
<script src="../../../../prettify.js"></script>
361361
<script>

0 commit comments

Comments
 (0)