Skip to content

Commit 1a4f627

Browse files
committed
Update artifacts
1 parent c53026f commit 1a4f627

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1172
-571
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
412412
<div class='footer quiet pad2 space-top1 center small'>
413413
Code coverage generated by
414414
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
415-
at 2025-04-22T09:17:18.970Z
415+
at 2025-04-22T20:50:56.907Z
416416
</div>
417417
<script src="../../../../prettify.js"></script>
418418
<script>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
427427
<div class='footer quiet pad2 space-top1 center small'>
428428
Code coverage generated by
429429
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
430-
at 2025-04-22T09:17:18.970Z
430+
at 2025-04-22T20:50:56.907Z
431431
</div>
432432
<script src="../../../../prettify.js"></script>
433433
<script>

ndarray/base/unary-reduce-strided1d/10d.js.html

Lines changed: 23 additions & 8 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">45.1% </span>
26+
<span class="strong">44.67% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>129/286</span>
28+
<span class='fraction'>130/291</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">45.1% </span>
47+
<span class="strong">44.67% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>129/286</span>
49+
<span class='fraction'>130/291</span>
5050
</div>
5151

5252

@@ -349,7 +349,12 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
349349
<a name='L284'></a><a href='#L284'>284</a>
350350
<a name='L285'></a><a href='#L285'>285</a>
351351
<a name='L286'></a><a href='#L286'>286</a>
352-
<a name='L287'></a><a href='#L287'>287</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
352+
<a name='L287'></a><a href='#L287'>287</a>
353+
<a name='L288'></a><a href='#L288'>288</a>
354+
<a name='L289'></a><a href='#L289'>289</a>
355+
<a name='L290'></a><a href='#L290'>290</a>
356+
<a name='L291'></a><a href='#L291'>291</a>
357+
<a name='L292'></a><a href='#L292'>292</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
353358
<span class="cline-any cline-yes">1x</span>
354359
<span class="cline-any cline-yes">1x</span>
355360
<span class="cline-any cline-yes">1x</span>
@@ -473,6 +478,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
473478
<span class="cline-any cline-yes">1x</span>
474479
<span class="cline-any cline-yes">1x</span>
475480
<span class="cline-any cline-yes">1x</span>
481+
<span class="cline-any cline-yes">1x</span>
482+
<span class="cline-any cline-no">&nbsp;</span>
483+
<span class="cline-any cline-no">&nbsp;</span>
484+
<span class="cline-any cline-no">&nbsp;</span>
485+
<span class="cline-any cline-no">&nbsp;</span>
476486
<span class="cline-any cline-no">&nbsp;</span>
477487
<span class="cline-any cline-no">&nbsp;</span>
478488
<span class="cline-any cline-no">&nbsp;</span>
@@ -659,6 +669,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
659669
&nbsp;
660670
// MODULES //
661671
&nbsp;
672+
var copyIndexed = require( '@stdlib/array/base/copy-indexed' );
662673
var isRowMajor = require( '@stdlib/ndarray/base/assert/is-row-major-string' );
663674
var incrementOffsets = require( './increment_offsets.js' );
664675
var setViewOffsets = require( './set_view_offsets.js' );
@@ -795,6 +806,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
795806
<span class="cstat-no" title="statement not covered" > var i8;</span>
796807
<span class="cstat-no" title="statement not covered" > var i9;</span>
797808
<span class="cstat-no" title="statement not covered" > var y;</span>
809+
<span class="cstat-no" title="statement not covered" > var v;</span>
798810
<span class="cstat-no" title="statement not covered" > var i;</span>
799811
<span class="cstat-no" title="statement not covered" ></span>
800812
<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>
@@ -878,6 +890,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
878890
<span class="cstat-no" title="statement not covered" > // Resolve a list of pointers to the first indexed elements in the respective ndarrays:</span>
879891
<span class="cstat-no" title="statement not covered" > iv = offsets( arrays );</span>
880892
<span class="cstat-no" title="statement not covered" ></span>
893+
<span class="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
894+
<span class="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
895+
<span class="cstat-no" title="statement not covered" ></span>
881896
<span class="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray buffer:</span>
882897
<span class="cstat-no" title="statement not covered" > ybuf = y.data;</span>
883898
<span class="cstat-no" title="statement not covered" ></span>
@@ -893,8 +908,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
893908
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; S1; i1++ ) {</span>
894909
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
895910
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
896-
<span class="cstat-no" title="statement not covered" > views[ 0 ] = strategy( views[ 0 ] );</span>
897-
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = fcn( views, opts );</span>
911+
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
912+
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = fcn( v, opts );</span>
898913
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
899914
<span class="cstat-no" title="statement not covered" > }</span>
900915
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv1 );</span>
@@ -928,7 +943,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
928943
<div class='footer quiet pad2 space-top1 center small'>
929944
Code coverage generated by
930945
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
931-
at 2025-04-22T09:17:18.970Z
946+
at 2025-04-22T20:50:56.907Z
932947
</div>
933948
<script src="../../../../prettify.js"></script>
934949
<script>

ndarray/base/unary-reduce-strided1d/10d_accessors.js.html

Lines changed: 23 additions & 8 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">45.23% </span>
26+
<span class="strong">44.81% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>133/294</span>
28+
<span class='fraction'>134/299</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">45.23% </span>
47+
<span class="strong">44.81% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>133/294</span>
49+
<span class='fraction'>134/299</span>
5050
</div>
5151

5252

@@ -357,7 +357,12 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
357357
<a name='L292'></a><a href='#L292'>292</a>
358358
<a name='L293'></a><a href='#L293'>293</a>
359359
<a name='L294'></a><a href='#L294'>294</a>
360-
<a name='L295'></a><a href='#L295'>295</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
360+
<a name='L295'></a><a href='#L295'>295</a>
361+
<a name='L296'></a><a href='#L296'>296</a>
362+
<a name='L297'></a><a href='#L297'>297</a>
363+
<a name='L298'></a><a href='#L298'>298</a>
364+
<a name='L299'></a><a href='#L299'>299</a>
365+
<a name='L300'></a><a href='#L300'>300</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
361366
<span class="cline-any cline-yes">1x</span>
362367
<span class="cline-any cline-yes">1x</span>
363368
<span class="cline-any cline-yes">1x</span>
@@ -485,6 +490,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
485490
<span class="cline-any cline-yes">1x</span>
486491
<span class="cline-any cline-yes">1x</span>
487492
<span class="cline-any cline-yes">1x</span>
493+
<span class="cline-any cline-yes">1x</span>
494+
<span class="cline-any cline-no">&nbsp;</span>
495+
<span class="cline-any cline-no">&nbsp;</span>
496+
<span class="cline-any cline-no">&nbsp;</span>
497+
<span class="cline-any cline-no">&nbsp;</span>
488498
<span class="cline-any cline-no">&nbsp;</span>
489499
<span class="cline-any cline-no">&nbsp;</span>
490500
<span class="cline-any cline-no">&nbsp;</span>
@@ -675,6 +685,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
675685
&nbsp;
676686
// MODULES //
677687
&nbsp;
688+
var copyIndexed = require( '@stdlib/array/base/copy-indexed' );
678689
var isRowMajor = require( '@stdlib/ndarray/base/assert/is-row-major-string' );
679690
var incrementOffsets = require( './increment_offsets.js' );
680691
var setViewOffsets = require( './set_view_offsets.js' );
@@ -816,6 +827,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
816827
<span class="cstat-no" title="statement not covered" > var i8;</span>
817828
<span class="cstat-no" title="statement not covered" > var i9;</span>
818829
<span class="cstat-no" title="statement not covered" > var y;</span>
830+
<span class="cstat-no" title="statement not covered" > var v;</span>
819831
<span class="cstat-no" title="statement not covered" > var i;</span>
820832
<span class="cstat-no" title="statement not covered" ></span>
821833
<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>
@@ -899,6 +911,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
899911
<span class="cstat-no" title="statement not covered" > // Resolve a list of pointers to the first indexed elements in the respective ndarrays:</span>
900912
<span class="cstat-no" title="statement not covered" > iv = offsets( arrays );</span>
901913
<span class="cstat-no" title="statement not covered" ></span>
914+
<span class="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
915+
<span class="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
916+
<span class="cstat-no" title="statement not covered" ></span>
902917
<span class="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray buffer:</span>
903918
<span class="cstat-no" title="statement not covered" > ybuf = y.data;</span>
904919
<span class="cstat-no" title="statement not covered" ></span>
@@ -917,8 +932,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
917932
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; S1; i1++ ) {</span>
918933
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
919934
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
920-
<span class="cstat-no" title="statement not covered" > views[ 0 ] = strategy( views[ 0 ] );</span>
921-
<span class="cstat-no" title="statement not covered" > set( ybuf, iv[ 1 ], fcn( views, opts ) );</span>
935+
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
936+
<span class="cstat-no" title="statement not covered" > set( ybuf, iv[ 1 ], fcn( v, opts ) );</span>
922937
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
923938
<span class="cstat-no" title="statement not covered" > }</span>
924939
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv1 );</span>
@@ -952,7 +967,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
952967
<div class='footer quiet pad2 space-top1 center small'>
953968
Code coverage generated by
954969
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
955-
at 2025-04-22T09:17:18.970Z
970+
at 2025-04-22T20:50:56.907Z
956971
</div>
957972
<script src="../../../../prettify.js"></script>
958973
<script>

ndarray/base/unary-reduce-strided1d/10d_blocked.js.html

Lines changed: 23 additions & 8 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">32.35% </span>
26+
<span class="strong">32.2% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>132/408</span>
28+
<span class='fraction'>133/413</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">32.35% </span>
47+
<span class="strong">32.2% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>132/408</span>
49+
<span class='fraction'>133/413</span>
5050
</div>
5151

5252

@@ -471,7 +471,12 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
471471
<a name='L406'></a><a href='#L406'>406</a>
472472
<a name='L407'></a><a href='#L407'>407</a>
473473
<a name='L408'></a><a href='#L408'>408</a>
474-
<a name='L409'></a><a href='#L409'>409</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
474+
<a name='L409'></a><a href='#L409'>409</a>
475+
<a name='L410'></a><a href='#L410'>410</a>
476+
<a name='L411'></a><a href='#L411'>411</a>
477+
<a name='L412'></a><a href='#L412'>412</a>
478+
<a name='L413'></a><a href='#L413'>413</a>
479+
<a name='L414'></a><a href='#L414'>414</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
475480
<span class="cline-any cline-yes">1x</span>
476481
<span class="cline-any cline-yes">1x</span>
477482
<span class="cline-any cline-yes">1x</span>
@@ -598,6 +603,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
598603
<span class="cline-any cline-yes">1x</span>
599604
<span class="cline-any cline-yes">1x</span>
600605
<span class="cline-any cline-yes">1x</span>
606+
<span class="cline-any cline-yes">1x</span>
607+
<span class="cline-any cline-no">&nbsp;</span>
608+
<span class="cline-any cline-no">&nbsp;</span>
609+
<span class="cline-any cline-no">&nbsp;</span>
610+
<span class="cline-any cline-no">&nbsp;</span>
601611
<span class="cline-any cline-no">&nbsp;</span>
602612
<span class="cline-any cline-no">&nbsp;</span>
603613
<span class="cline-any cline-no">&nbsp;</span>
@@ -906,6 +916,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
906916
var loopOrder = require( '@stdlib/ndarray/base/unary-loop-interchange-order' );
907917
var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
908918
var takeIndexed = require( '@stdlib/array/base/take-indexed' );
919+
var copyIndexed = require( '@stdlib/array/base/copy-indexed' );
909920
var zeros = require( '@stdlib/array/base/zeros' );
910921
var incrementOffsets = require( './increment_offsets.js' );
911922
var setViewOffsets = require( './set_view_offsets.js' );
@@ -1065,6 +1076,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
10651076
<span class="cstat-no" title="statement not covered" > var N;</span>
10661077
<span class="cstat-no" title="statement not covered" > var x;</span>
10671078
<span class="cstat-no" title="statement not covered" > var y;</span>
1079+
<span class="cstat-no" title="statement not covered" > var v;</span>
10681080
<span class="cstat-no" title="statement not covered" > var o;</span>
10691081
<span class="cstat-no" title="statement not covered" > var k;</span>
10701082
<span class="cstat-no" title="statement not covered" ></span>
@@ -1116,6 +1128,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
11161128
<span class="cstat-no" title="statement not covered" > dv9 = zeros( N );</span>
11171129
<span class="cstat-no" title="statement not covered" > iv = zeros( N );</span>
11181130
<span class="cstat-no" title="statement not covered" ></span>
1131+
<span class="cstat-no" title="statement not covered" > // Shallow copy the list of views to an internal array so that we can update with reshaped views without impacting the original list of views:</span>
1132+
<span class="cstat-no" title="statement not covered" > v = copyIndexed( views );</span>
1133+
<span class="cstat-no" title="statement not covered" ></span>
11191134
<span class="cstat-no" title="statement not covered" > // Iterate over blocks...</span>
11201135
<span class="cstat-no" title="statement not covered" > for ( j9 = sh[9]; j9 &gt; 0; ) {</span>
11211136
<span class="cstat-no" title="statement not covered" > if ( j9 &lt; bsize ) {</span>
@@ -1249,8 +1264,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
12491264
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; s1; i1++ ) {</span>
12501265
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; s0; i0++ ) {</span>
12511266
<span class="cstat-no" title="statement not covered" > setViewOffsets( views, iv );</span>
1252-
<span class="cstat-no" title="statement not covered" > views[ 0 ] = strategy( views[ 0 ] );</span>
1253-
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = fcn( views, opts );</span>
1267+
<span class="cstat-no" title="statement not covered" > v[ 0 ] = strategy( views[ 0 ] );</span>
1268+
<span class="cstat-no" title="statement not covered" > ybuf[ iv[1] ] = fcn( v, opts );</span>
12541269
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv0 );</span>
12551270
<span class="cstat-no" title="statement not covered" > }</span>
12561271
<span class="cstat-no" title="statement not covered" > incrementOffsets( iv, dv1 );</span>
@@ -1294,7 +1309,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
12941309
<div class='footer quiet pad2 space-top1 center small'>
12951310
Code coverage generated by
12961311
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1297-
at 2025-04-22T09:17:18.970Z
1312+
at 2025-04-22T20:50:56.907Z
12981313
</div>
12991314
<script src="../../../../prettify.js"></script>
13001315
<script>

0 commit comments

Comments
 (0)