Skip to content

Commit 4c639c8

Browse files
committed
Update artifacts
1 parent a300f68 commit 4c639c8

File tree

9 files changed

+829
-43
lines changed

9 files changed

+829
-43
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-06-01T01:15:00.161Z
478+
at 2025-08-28T01:13:33.643Z
473479
</div>
474480
<script src="../../../../prettify.js"></script>
475481
<script>

blas/base/ssyr2/coverage.ndjson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
[437,437,100,57,57,100,3,3,100,437,437,100,"4bf26831b85d4bd29ac6365a908302f792711d54","2025-04-22 11:01:54 -0700"]
88
[438,438,100,57,57,100,3,3,100,438,438,100,"12615c0be9064895e7a5838faba15cc871880094","2025-05-07 19:09:24 -0700"]
99
[438,438,100,57,57,100,3,3,100,438,438,100,"b1267d7dadca632cf07d2d57ffaedb0a087a2a2a","2025-05-31 18:13:55 -0700"]
10+
[633,633,100,91,91,100,5,5,100,633,633,100,"986170553f7fa289eca57e9aedbd194f7a70c420","2025-08-27 18:11:14 -0700"]

blas/base/ssyr2/index.html

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,28 @@ <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'>438/438</span>
28+
<span class='fraction'>633/633</span>
2929
</div>
3030

3131

3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">100% </span>
3434
<span class="quiet">Branches</span>
35-
<span class='fraction'>57/57</span>
35+
<span class='fraction'>91/91</span>
3636
</div>
3737

3838

3939
<div class='fl pad1y space-right2'>
4040
<span class="strong">100% </span>
4141
<span class="quiet">Functions</span>
42-
<span class='fraction'>3/3</span>
42+
<span class='fraction'>5/5</span>
4343
</div>
4444

4545

4646
<div class='fl pad1y space-right2'>
4747
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>438/438</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,28 @@ <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>
139+
</tr>
140+
141+
<tr>
142+
<td class="file high" data-value="ndarray.native.js"><a href="ndarray.native.js.html">ndarray.native.js</a></td>
143+
<td data-value="100" class="pic high">
144+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
145+
</td>
146+
<td data-value="100" class="pct high">100%</td>
147+
<td data-value="95" class="abs high">95/95</td>
148+
<td data-value="100" class="pct high">100%</td>
149+
<td data-value="17" class="abs high">17/17</td>
150+
<td data-value="100" class="pct high">100%</td>
151+
<td data-value="1" class="abs high">1/1</td>
152+
<td data-value="100" class="pct high">100%</td>
153+
<td data-value="95" class="abs high">95/95</td>
139154
</tr>
140155

141156
<tr>
@@ -144,13 +159,28 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
144159
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
145160
</td>
146161
<td data-value="100" class="pct high">100%</td>
147-
<td data-value="106" class="abs high">106/106</td>
162+
<td data-value="108" class="abs high">108/108</td>
148163
<td data-value="100" class="pct high">100%</td>
149164
<td data-value="20" class="abs high">20/20</td>
150165
<td data-value="100" class="pct high">100%</td>
151166
<td data-value="1" class="abs high">1/1</td>
152167
<td data-value="100" class="pct high">100%</td>
153-
<td data-value="106" class="abs high">106/106</td>
168+
<td data-value="108" class="abs high">108/108</td>
169+
</tr>
170+
171+
<tr>
172+
<td class="file high" data-value="ssyr2.native.js"><a href="ssyr2.native.js.html">ssyr2.native.js</a></td>
173+
<td data-value="100" class="pic high">
174+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
175+
</td>
176+
<td data-value="100" class="pct high">100%</td>
177+
<td data-value="95" class="abs high">95/95</td>
178+
<td data-value="100" class="pct high">100%</td>
179+
<td data-value="17" class="abs high">17/17</td>
180+
<td data-value="100" class="pct high">100%</td>
181+
<td data-value="1" class="abs high">1/1</td>
182+
<td data-value="100" class="pct high">100%</td>
183+
<td data-value="95" class="abs high">95/95</td>
154184
</tr>
155185

156186
</tbody>
@@ -161,7 +191,7 @@ <h1><a href="../../../../index.html">All files</a> blas/base/ssyr2/lib</h1>
161191
<div class='footer quiet pad2 space-top1 center small'>
162192
Code coverage generated by
163193
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164-
at 2025-06-01T01:15:00.161Z
194+
at 2025-08-28T01:13:33.643Z
165195
</div>
166196
<script src="../../../../prettify.js"></script>
167197
<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-06-01T01:15:00.161Z
289+
at 2025-08-28T01:13:33.643Z
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-06-01T01:15:00.161Z
178+
at 2025-08-28T01:13:33.643Z
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-06-01T01:15:00.161Z
352+
at 2025-08-28T01:13:33.643Z
350353
</div>
351354
<script src="../../../../prettify.js"></script>
352355
<script>

0 commit comments

Comments
 (0)