Skip to content

Commit 45da9a7

Browse files
committed
Update artifacts
1 parent cd9b92b commit 45da9a7

21 files changed

+120
-84
lines changed

ndarray/base/unary-reduce-strided1d-by/0d.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
484484
<div class='footer quiet pad2 space-top1 center small'>
485485
Code coverage generated by
486486
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
487-
at 2025-06-05T10:04:11.256Z
487+
at 2025-06-05T10:21:19.476Z
488488
</div>
489489
<script src="../../../../prettify.js"></script>
490490
<script>

ndarray/base/unary-reduce-strided1d-by/0d_accessors.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
505505
<div class='footer quiet pad2 space-top1 center small'>
506506
Code coverage generated by
507507
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
508-
at 2025-06-05T10:04:11.256Z
508+
at 2025-06-05T10:21:19.476Z
509509
</div>
510510
<script src="../../../../prettify.js"></script>
511511
<script>

ndarray/base/unary-reduce-strided1d-by/1d.js.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
2323
<div class='clearfix'>
2424

2525
<div class='fl pad1y space-right2'>
26-
<span class="strong">77.17% </span>
26+
<span class="strong">75.53% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>142/184</span>
28+
<span class='fraction'>142/188</span>
2929
</div>
3030

3131

@@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
4444

4545

4646
<div class='fl pad1y space-right2'>
47-
<span class="strong">77.17% </span>
47+
<span class="strong">75.53% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>142/184</span>
49+
<span class='fraction'>142/188</span>
5050
</div>
5151

5252

@@ -247,7 +247,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
247247
<a name='L182'></a><a href='#L182'>182</a>
248248
<a name='L183'></a><a href='#L183'>183</a>
249249
<a name='L184'></a><a href='#L184'>184</a>
250-
<a name='L185'></a><a href='#L185'>185</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
250+
<a name='L185'></a><a href='#L185'>185</a>
251+
<a name='L186'></a><a href='#L186'>186</a>
252+
<a name='L187'></a><a href='#L187'>187</a>
253+
<a name='L188'></a><a href='#L188'>188</a>
254+
<a name='L189'></a><a href='#L189'>189</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
251255
<span class="cline-any cline-yes">1x</span>
252256
<span class="cline-any cline-yes">1x</span>
253257
<span class="cline-any cline-yes">1x</span>
@@ -426,6 +430,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
426430
<span class="cline-any cline-no">&nbsp;</span>
427431
<span class="cline-any cline-no">&nbsp;</span>
428432
<span class="cline-any cline-no">&nbsp;</span>
433+
<span class="cline-any cline-no">&nbsp;</span>
434+
<span class="cline-any cline-no">&nbsp;</span>
435+
<span class="cline-any cline-no">&nbsp;</span>
436+
<span class="cline-any cline-no">&nbsp;</span>
429437
<span class="cline-any cline-yes">1x</span>
430438
<span class="cline-any cline-yes">1x</span>
431439
<span class="cline-any cline-yes">1x</span>
@@ -449,7 +457,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
449457
* limitations under the License.
450458
*/
451459
&nbsp;
452-
/* eslint-disable max-params */
460+
/* eslint-disable max-len, max-params */
453461
&nbsp;
454462
'use strict';
455463
&nbsp;
@@ -568,20 +576,24 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
568576
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
569577
* // returns [ 8.0, 16.0, 24.0 ]
570578
*/
571-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary1d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) { // eslint-disable-line max-len</span></span>
579+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary1d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {</span></span>
572580
<span class="cstat-no" title="statement not covered" > var ybuf;</span>
573581
<span class="cstat-no" title="statement not covered" > var dv0;</span>
574582
<span class="cstat-no" title="statement not covered" > var sh;</span>
575583
<span class="cstat-no" title="statement not covered" > var S0;</span>
576584
<span class="cstat-no" title="statement not covered" > var iv;</span>
577585
<span class="cstat-no" title="statement not covered" > var i0;</span>
586+
<span class="cstat-no" title="statement not covered" > var x;</span>
578587
<span class="cstat-no" title="statement not covered" > var y;</span>
579588
<span class="cstat-no" title="statement not covered" > var v;</span>
580589
<span class="cstat-no" title="statement not covered" > var i;</span>
581590
<span class="cstat-no" title="statement not covered" > var f;</span>
582591
<span class="cstat-no" title="statement not covered" ></span>
583592
<span class="cstat-no" title="statement not covered" > // Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...</span>
584593
<span class="cstat-no" title="statement not covered" ></span>
594+
<span class="cstat-no" title="statement not covered" > // Cache a reference to the input ndarray:</span>
595+
<span class="cstat-no" title="statement not covered" > x = arrays[ 0 ];</span>
596+
<span class="cstat-no" title="statement not covered" ></span>
585597
<span class="cstat-no" title="statement not covered" > // Resolve the output ndarray and associated shape:</span>
586598
<span class="cstat-no" title="statement not covered" > y = arrays[ 1 ];</span>
587599
<span class="cstat-no" title="statement not covered" > sh = y.shape;</span>
@@ -605,7 +617,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
605617
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
606618
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
607619
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
608-
<span class="cstat-no" title="statement not covered" > f = wrap( arrays[ 0 ].ref, views[ 0 ], ibuf, ldims, [ i0 ], cdims, clbk, thisArg ); // eslint-disable-line max-len</span>
620+
<span class="cstat-no" title="statement not covered" > f = wrap( x.ref, views[ 0 ], ibuf, ldims, [ i0 ], cdims, clbk, thisArg );</span>
609621
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = ( hasOpts ) ? fcn( v, opts, f ) : fcn( v, f );</span>
610622
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
611623
<span class="cstat-no" title="statement not covered" > }</span>
@@ -622,7 +634,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
622634
<div class='footer quiet pad2 space-top1 center small'>
623635
Code coverage generated by
624636
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
625-
at 2025-06-05T10:04:11.256Z
637+
at 2025-06-05T10:21:19.476Z
626638
</div>
627639
<script src="../../../../prettify.js"></script>
628640
<script>

ndarray/base/unary-reduce-strided1d-by/1d_accessors.js.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
473473
* limitations under the License.
474474
*/
475475
&nbsp;
476-
/* eslint-disable max-params */
476+
/* eslint-disable max-len, max-params */
477477
&nbsp;
478478
'use strict';
479479
&nbsp;
@@ -596,21 +596,25 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
596596
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
597597
* // returns [ 8.0, 16.0, 24.0 ]
598598
*/
599-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary1d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) { // eslint-disable-line max-len</span></span>
599+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary1d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {</span></span>
600600
<span class="cstat-no" title="statement not covered" > var ybuf;</span>
601601
<span class="cstat-no" title="statement not covered" > var set;</span>
602602
<span class="cstat-no" title="statement not covered" > var dv0;</span>
603603
<span class="cstat-no" title="statement not covered" > var sh;</span>
604604
<span class="cstat-no" title="statement not covered" > var S0;</span>
605605
<span class="cstat-no" title="statement not covered" > var iv;</span>
606606
<span class="cstat-no" title="statement not covered" > var i0;</span>
607+
<span class="cstat-no" title="statement not covered" > var x;</span>
607608
<span class="cstat-no" title="statement not covered" > var y;</span>
608609
<span class="cstat-no" title="statement not covered" > var v;</span>
609610
<span class="cstat-no" title="statement not covered" > var i;</span>
610611
<span class="cstat-no" title="statement not covered" > var f;</span>
611612
<span class="cstat-no" title="statement not covered" ></span>
612613
<span class="cstat-no" title="statement not covered" > // Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...</span>
613614
<span class="cstat-no" title="statement not covered" ></span>
615+
<span class="cstat-no" title="statement not covered" > // Cache a reference to the input ndarray:</span>
616+
<span class="cstat-no" title="statement not covered" > x = arrays[ 0 ];</span>
617+
<span class="cstat-no" title="statement not covered" ></span>
614618
<span class="cstat-no" title="statement not covered" > // Resolve the output ndarray and associated shape:</span>
615619
<span class="cstat-no" title="statement not covered" > y = arrays[ 1 ];</span>
616620
<span class="cstat-no" title="statement not covered" > sh = y.shape;</span>
@@ -637,12 +641,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
637641
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
638642
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
639643
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
640-
<span class="cstat-no" title="statement not covered" > f = wrap( arrays[ 0 ].ref, views[ 0 ], ibuf, ldims, [ i0 ], cdims, clbk, thisArg ); // eslint-disable-line max-len</span>
641-
<span class="cstat-no" title="statement not covered" > if ( hasOpts ) {</span>
642-
<span class="cstat-no" title="statement not covered" > set( ybuf, iv[1], fcn( v, opts, f ) );</span>
643-
<span class="cstat-no" title="statement not covered" > } else {</span>
644-
<span class="cstat-no" title="statement not covered" > set( ybuf, iv[1], fcn( v, f ) );</span>
645-
<span class="cstat-no" title="statement not covered" > }</span>
644+
<span class="cstat-no" title="statement not covered" > f = wrap( x.ref, views[ 0 ], ibuf, ldims, [ i0 ], cdims, clbk, thisArg );</span>
645+
<span class="cstat-no" title="statement not covered" > set( ybuf, iv[1], ( hasOpts ) ? fcn( v, opts, f ): fcn( v, f ) );</span>
646646
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
647647
<span class="cstat-no" title="statement not covered" > }</span>
648648
<span class="cstat-no" title="statement not covered" >}</span>
@@ -658,7 +658,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
658658
<div class='footer quiet pad2 space-top1 center small'>
659659
Code coverage generated by
660660
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
661-
at 2025-06-05T10:04:11.256Z
661+
at 2025-06-05T10:21:19.476Z
662662
</div>
663663
<script src="../../../../prettify.js"></script>
664664
<script>

ndarray/base/unary-reduce-strided1d-by/2d.js.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
2323
<div class='clearfix'>
2424

2525
<div class='fl pad1y space-right2'>
26-
<span class="strong">68.09% </span>
26+
<span class="strong">66.82% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>143/210</span>
28+
<span class='fraction'>143/214</span>
2929
</div>
3030

3131

@@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
4444

4545

4646
<div class='fl pad1y space-right2'>
47-
<span class="strong">68.09% </span>
47+
<span class="strong">66.82% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>143/210</span>
49+
<span class='fraction'>143/214</span>
5050
</div>
5151

5252

@@ -273,7 +273,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
273273
<a name='L208'></a><a href='#L208'>208</a>
274274
<a name='L209'></a><a href='#L209'>209</a>
275275
<a name='L210'></a><a href='#L210'>210</a>
276-
<a name='L211'></a><a href='#L211'>211</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
276+
<a name='L211'></a><a href='#L211'>211</a>
277+
<a name='L212'></a><a href='#L212'>212</a>
278+
<a name='L213'></a><a href='#L213'>213</a>
279+
<a name='L214'></a><a href='#L214'>214</a>
280+
<a name='L215'></a><a href='#L215'>215</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
277281
<span class="cline-any cline-yes">1x</span>
278282
<span class="cline-any cline-yes">1x</span>
279283
<span class="cline-any cline-yes">1x</span>
@@ -478,6 +482,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
478482
<span class="cline-any cline-no">&nbsp;</span>
479483
<span class="cline-any cline-no">&nbsp;</span>
480484
<span class="cline-any cline-no">&nbsp;</span>
485+
<span class="cline-any cline-no">&nbsp;</span>
486+
<span class="cline-any cline-no">&nbsp;</span>
487+
<span class="cline-any cline-no">&nbsp;</span>
488+
<span class="cline-any cline-no">&nbsp;</span>
481489
<span class="cline-any cline-yes">1x</span>
482490
<span class="cline-any cline-yes">1x</span>
483491
<span class="cline-any cline-yes">1x</span>
@@ -501,7 +509,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
501509
* limitations under the License.
502510
*/
503511
&nbsp;
504-
/* eslint-disable max-params */
512+
/* eslint-disable max-len, max-params */
505513
&nbsp;
506514
'use strict';
507515
&nbsp;
@@ -621,7 +629,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
621629
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
622630
* // returns [ [ 8.0, 16.0, 24.0 ] ]
623631
*/
624-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary2d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) { // eslint-disable-line max-len</span></span>
632+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function unary2d( fcn, arrays, strategy, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {</span></span>
625633
<span class="cstat-no" title="statement not covered" > var ybuf;</span>
626634
<span class="cstat-no" title="statement not covered" > var dv0;</span>
627635
<span class="cstat-no" title="statement not covered" > var dv1;</span>
@@ -632,13 +640,17 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
632640
<span class="cstat-no" title="statement not covered" > var iv;</span>
633641
<span class="cstat-no" title="statement not covered" > var i0;</span>
634642
<span class="cstat-no" title="statement not covered" > var i1;</span>
643+
<span class="cstat-no" title="statement not covered" > var x;</span>
635644
<span class="cstat-no" title="statement not covered" > var y;</span>
636645
<span class="cstat-no" title="statement not covered" > var v;</span>
637646
<span class="cstat-no" title="statement not covered" > var i;</span>
638647
<span class="cstat-no" title="statement not covered" > var f;</span>
639648
<span class="cstat-no" title="statement not covered" ></span>
640649
<span class="cstat-no" title="statement not covered" > // Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...</span>
641650
<span class="cstat-no" title="statement not covered" ></span>
651+
<span class="cstat-no" title="statement not covered" > // Cache a reference to the input ndarray:</span>
652+
<span class="cstat-no" title="statement not covered" > x = arrays[ 0 ];</span>
653+
<span class="cstat-no" title="statement not covered" ></span>
642654
<span class="cstat-no" title="statement not covered" > // Resolve the output ndarray and associated shape:</span>
643655
<span class="cstat-no" title="statement not covered" > y = arrays[ 1 ];</span>
644656
<span class="cstat-no" title="statement not covered" > sh = y.shape;</span>
@@ -681,7 +693,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
681693
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
682694
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
683695
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
684-
<span class="cstat-no" title="statement not covered" > f = wrap( arrays[ 0 ].ref, views[ 0 ], ibuf, ldims, [ i1, i0 ], cdims, clbk, thisArg ); // eslint-disable-line max-len</span>
696+
<span class="cstat-no" title="statement not covered" > f = wrap( x.ref, views[ 0 ], ibuf, ldims, [ i1, i0 ], cdims, clbk, thisArg );</span>
685697
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = ( hasOpts ) ? fcn( v, opts, f ) : fcn( v, f );</span>
686698
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
687699
<span class="cstat-no" title="statement not covered" > }</span>
@@ -700,7 +712,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
700712
<div class='footer quiet pad2 space-top1 center small'>
701713
Code coverage generated by
702714
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
703-
at 2025-06-05T10:04:11.256Z
715+
at 2025-06-05T10:21:19.476Z
704716
</div>
705717
<script src="../../../../prettify.js"></script>
706718
<script>

0 commit comments

Comments
 (0)