Skip to content

Commit 0eb6a4c

Browse files
committed
Update artifacts
1 parent 15c3a99 commit 0eb6a4c

Some content is hidden

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

46 files changed

+458
-629
lines changed

Diff for: ndarray/base/every-by/0d.js.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
252252
// MAIN //
253253
&nbsp;
254254
/**
255-
* Tests whether every element in an ndarray is truthy according to a callback function.
255+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function.
256256
*
257257
* @private
258258
* @param {Object} x - object containing ndarray meta data
@@ -263,14 +263,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
263263
* @param {IntegerArray} x.strides - stride lengths
264264
* @param {NonNegativeInteger} x.offset - index offset
265265
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
266-
* @param {Function} clbk - callback function
267-
* @param {*} thisArg - callback execution context
268-
* @returns {boolean} result
266+
* @param {Function} predicate - predicate function
267+
* @param {*} thisArg - predicate function execution context
268+
* @returns {boolean} boolean indicating whether all elements pass a test
269269
*
270270
* @example
271271
* var Float64Array = require( '@stdlib/array/float64' );
272272
*
273-
* function clbk( value ) {
273+
* function predicate( value ) {
274274
* return value &gt; 0.0;
275275
* }
276276
*
@@ -298,11 +298,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
298298
* };
299299
*
300300
* // Test elements:
301-
* var out = every0d( x, clbk );
301+
* var out = every0d( x, predicate );
302302
* // returns true
303303
*/
304-
function every0d( x, clbk, thisArg ) {
305-
if ( clbk.call( thisArg, x.data[ x.offset ], [], x.ref ) ) {
304+
function every0d( x, predicate, thisArg ) {
305+
if ( predicate.call( thisArg, x.data[ x.offset ], [], x.ref ) ) {
306306
return true;
307307
}
308308
return false;
@@ -319,7 +319,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
319319
<div class='footer quiet pad2 space-top1 center small'>
320320
Code coverage generated by
321321
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
322-
at 2025-04-19T09:54:50.633Z
322+
at 2025-04-19T10:49:10.483Z
323323
</div>
324324
<script src="../../../../prettify.js"></script>
325325
<script>

Diff for: ndarray/base/every-by/0d_accessors.js.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
258258
// MAIN //
259259
&nbsp;
260260
/**
261-
* Tests whether every element in an ndarray is truthy according to a callback function.
261+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function.
262262
*
263263
* @private
264264
* @param {Object} x - object containing ndarray meta data
@@ -270,15 +270,15 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
270270
* @param {NonNegativeInteger} x.offset - index offset
271271
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
272272
* @param {Array&lt;Function&gt;} x.accessors - data buffer accessors
273-
* @param {Function} clbk - callback function
274-
* @param {*} thisArg - callback execution context
275-
* @returns {boolean} result
273+
* @param {Function} predicate - predicate function
274+
* @param {*} thisArg - predicate function execution context
275+
* @returns {boolean} boolean indicating whether all elements pass a test
276276
*
277277
* @example
278278
* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
279279
* var accessors = require( '@stdlib/array/base/accessors' );
280280
*
281-
* function clbk( value ) {
281+
* function predicate( value ) {
282282
* return value &gt; 0.0;
283283
* }
284284
*
@@ -307,11 +307,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
307307
* };
308308
*
309309
* // Test elements:
310-
* var out = every0d( x, clbk );
310+
* var out = every0d( x, predicate );
311311
* // returns true
312312
*/
313-
function every0d( x, clbk, thisArg ) {
314-
if ( clbk.call( thisArg, x.accessors[ 0 ]( x.data, x.offset ), [], x.ref ) ) { // eslint-disable-line max-len
313+
function every0d( x, predicate, thisArg ) {
314+
if ( predicate.call( thisArg, x.accessors[ 0 ]( x.data, x.offset ), [], x.ref ) ) { // eslint-disable-line max-len
315315
return true;
316316
}
317317
return false;
@@ -328,7 +328,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
328328
<div class='footer quiet pad2 space-top1 center small'>
329329
Code coverage generated by
330330
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
331-
at 2025-04-19T09:54:50.633Z
331+
at 2025-04-19T10:49:10.483Z
332332
</div>
333333
<script src="../../../../prettify.js"></script>
334334
<script>

Diff for: ndarray/base/every-by/10d.js.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
532532
// MAIN //
533533
&nbsp;
534534
/**
535-
* Tests whether every element in an ndarray is truthy according to a callback function.
535+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function.
536536
*
537537
* @private
538538
* @param {Object} x - object containing ndarray meta data
@@ -543,14 +543,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
543543
* @param {IntegerArray} x.strides - stride lengths
544544
* @param {NonNegativeInteger} x.offset - index offset
545545
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
546-
* @param {Function} clbk - callback function
547-
* @param {*} thisArg - callback execution context
548-
* @returns {boolean} result
546+
* @param {Function} predicate - predicate function
547+
* @param {*} thisArg - predicate function execution context
548+
* @returns {boolean} boolean indicating whether all elements pass a test
549549
*
550550
* @example
551551
* var Float64Array = require( '@stdlib/array/float64' );
552552
*
553-
* function clbk( value ) {
553+
* function predicate( value ) {
554554
* return value &gt; 0.0;
555555
* }
556556
*
@@ -578,10 +578,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
578578
* };
579579
*
580580
* // Test elements:
581-
* var out = every10d( x, clbk );
581+
* var out = every10d( x, predicate );
582582
* // returns true
583583
*/
584-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function every10d( x, clbk, thisArg ) { // eslint-disable-line max-statements</span></span>
584+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function every10d( x, predicate, thisArg ) { // eslint-disable-line max-statements</span></span>
585585
<span class="cstat-no" title="statement not covered" > var xbuf;</span>
586586
<span class="cstat-no" title="statement not covered" > var idx;</span>
587587
<span class="cstat-no" title="statement not covered" > var dx0;</span>
@@ -687,7 +687,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
687687
<span class="cstat-no" title="statement not covered" > for ( i2 = 0; i2 &lt; S2; i2++ ) {</span>
688688
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; S1; i1++ ) {</span>
689689
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
690-
<span class="cstat-no" title="statement not covered" > if ( !clbk.call( thisArg, xbuf[ ix ], take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) { // eslint-disable-line max-len</span>
690+
<span class="cstat-no" title="statement not covered" > if ( !predicate.call( thisArg, xbuf[ ix ], take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) { // eslint-disable-line max-len</span>
691691
<span class="cstat-no" title="statement not covered" > return false;</span>
692692
<span class="cstat-no" title="statement not covered" > }</span>
693693
<span class="cstat-no" title="statement not covered" > ix += dx0;</span>
@@ -724,7 +724,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
724724
<div class='footer quiet pad2 space-top1 center small'>
725725
Code coverage generated by
726726
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
727-
at 2025-04-19T09:54:50.633Z
727+
at 2025-04-19T10:49:10.483Z
728728
</div>
729729
<script src="../../../../prettify.js"></script>
730730
<script>

Diff for: ndarray/base/every-by/10d_accessors.js.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
546546
// MAIN //
547547
&nbsp;
548548
/**
549-
* Tests whether every element in an ndarray is truthy according to a callback function.
549+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function.
550550
*
551551
* @private
552552
* @param {Object} x - object containing ndarray meta data
@@ -558,26 +558,26 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
558558
* @param {NonNegativeInteger} x.offset - index offset
559559
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
560560
* @param {Array&lt;Function&gt;} x.accessors - data buffer accessors
561-
* @param {Function} clbk - callback function
562-
* @param {*} thisArg - callback execution context
563-
* @returns {boolean} result
561+
* @param {Function} predicate - predicate function
562+
* @param {*} thisArg - predicate function execution context
563+
* @returns {boolean} boolean indicating whether all elements pass a test
564564
*
565565
* @example
566566
* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
567567
* var accessors = require( '@stdlib/array/base/accessors' );
568568
*
569-
* function clbk( value ) {
569+
* function predicate( value ) {
570570
* return value &gt; 0.0;
571571
* }
572572
*
573573
* // Create a data buffer:
574574
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
575575
*
576576
* // Define the shape of the input array:
577-
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
577+
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2 ];
578578
*
579579
* // Define the array strides:
580-
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
580+
* var sx = [ 8, 8, 8, 8, 8, 8, 8, 4, 2, 1 ];
581581
*
582582
* // Define the index offset:
583583
* var ox = 0;
@@ -595,10 +595,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
595595
* };
596596
*
597597
* // Test elements:
598-
* var out = every10d( x, clbk );
598+
* var out = every10d( x, predicate );
599599
* // returns true
600600
*/
601-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function every10d( x, clbk, thisArg ) { // eslint-disable-line max-statements</span></span>
601+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function every10d( x, predicate, thisArg ) { // eslint-disable-line max-statements</span></span>
602602
<span class="cstat-no" title="statement not covered" > var xbuf;</span>
603603
<span class="cstat-no" title="statement not covered" > var idx;</span>
604604
<span class="cstat-no" title="statement not covered" > var get;</span>
@@ -708,7 +708,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
708708
<span class="cstat-no" title="statement not covered" > for ( i2 = 0; i2 &lt; S2; i2++ ) {</span>
709709
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; S1; i1++ ) {</span>
710710
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; S0; i0++ ) {</span>
711-
<span class="cstat-no" title="statement not covered" > if ( !clbk.call( thisArg, get( xbuf, ix ), take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) { // eslint-disable-line max-len</span>
711+
<span class="cstat-no" title="statement not covered" > if ( !predicate.call( thisArg, get( xbuf, ix ), take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) { // eslint-disable-line max-len</span>
712712
<span class="cstat-no" title="statement not covered" > return false;</span>
713713
<span class="cstat-no" title="statement not covered" > }</span>
714714
<span class="cstat-no" title="statement not covered" > ix += dx0;</span>
@@ -745,7 +745,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
745745
<div class='footer quiet pad2 space-top1 center small'>
746746
Code coverage generated by
747747
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
748-
at 2025-04-19T09:54:50.633Z
748+
at 2025-04-19T10:49:10.483Z
749749
</div>
750750
<script src="../../../../prettify.js"></script>
751751
<script>

Diff for: ndarray/base/every-by/10d_blocked.js.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
728728
// MAIN //
729729
&nbsp;
730730
/**
731-
* Tests whether every element in an ndarray is truthy according to a callback function via loop blocking.
731+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function via loop blocking.
732732
*
733733
* @private
734734
* @param {Object} x - object containing ndarray meta data
@@ -739,14 +739,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
739739
* @param {IntegerArray} x.strides - stride lengths
740740
* @param {NonNegativeInteger} x.offset - index offset
741741
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
742-
* @param {Function} clbk - callback function
743-
* @param {*} thisArg - callback execution context
744-
* @returns {boolean} result
742+
* @param {Function} predicate - predicate function
743+
* @param {*} thisArg - predicate function execution context
744+
* @returns {boolean} boolean indicating whether all elements pass a test
745745
*
746746
* @example
747747
* var Float64Array = require( '@stdlib/array/float64' );
748748
*
749-
* function clbk( value ) {
749+
* function predicate( value ) {
750750
* return value &gt; 0.0;
751751
* }
752752
*
@@ -774,10 +774,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
774774
* };
775775
*
776776
* // Test elements:
777-
* var out = blockedevery10d( x, clbk );
777+
* var out = blockedevery10d( x, predicate );
778778
* // returns true
779779
*/
780-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function blockedevery10d( x, clbk, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function</span></span>
780+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function blockedevery10d( x, predicate, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function</span></span>
781781
<span class="cstat-no" title="statement not covered" > var bsize;</span>
782782
<span class="cstat-no" title="statement not covered" > var xbuf;</span>
783783
<span class="cstat-no" title="statement not covered" > var idx;</span>
@@ -971,7 +971,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
971971
<span class="cstat-no" title="statement not covered" > for ( i2 = 0; i2 &lt; s2; i2++ ) {</span>
972972
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; s1; i1++ ) {</span>
973973
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; s0; i0++ ) {</span>
974-
<span class="cstat-no" title="statement not covered" > if ( !clbk.call( thisArg, xbuf[ ix ], take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) {</span>
974+
<span class="cstat-no" title="statement not covered" > if ( !predicate.call( thisArg, xbuf[ ix ], take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) {</span>
975975
<span class="cstat-no" title="statement not covered" > return false;</span>
976976
<span class="cstat-no" title="statement not covered" > }</span>
977977
<span class="cstat-no" title="statement not covered" > ix += dx0;</span>
@@ -1018,7 +1018,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
10181018
<div class='footer quiet pad2 space-top1 center small'>
10191019
Code coverage generated by
10201020
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1021-
at 2025-04-19T09:54:50.633Z
1021+
at 2025-04-19T10:49:10.483Z
10221022
</div>
10231023
<script src="../../../../prettify.js"></script>
10241024
<script>

Diff for: ndarray/base/every-by/10d_blocked_accessors.js.html

+11-11
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
742742
// MAIN //
743743
&nbsp;
744744
/**
745-
* Tests whether every element in an ndarray is truthy according to a callback function via loop blocking.
745+
* Tests whether all elements in an ndarray pass a test implemented by a predicate function via loop blocking.
746746
*
747747
* @private
748748
* @param {Object} x - object containing ndarray meta data
@@ -754,26 +754,26 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
754754
* @param {NonNegativeInteger} x.offset - index offset
755755
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
756756
* @param {Array&lt;Function&gt;} x.accessors - data buffer accessors
757-
* @param {Function} clbk - callback function
758-
* @param {*} thisArg - callback execution context
759-
* @returns {boolean} result
757+
* @param {Function} predicate - predicate function
758+
* @param {*} thisArg - predicate function execution context
759+
* @returns {boolean} boolean indicating whether all elements pass a test
760760
*
761761
* @example
762762
* var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
763763
* var accessors = require( '@stdlib/array/base/accessors' );
764764
*
765-
* function clbk( value ) {
765+
* function predicate( value ) {
766766
* return value &gt; 0.0;
767767
* }
768768
*
769769
* // Create a data buffer:
770770
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
771771
*
772772
* // Define the shape of the input array:
773-
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
773+
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 2, 2, 2 ];
774774
*
775775
* // Define the array strides:
776-
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
776+
* var sx = [ 8, 8, 8, 8, 8, 8, 8, 4, 2, 1 ];
777777
*
778778
* // Define the index offset:
779779
* var ox = 0;
@@ -791,10 +791,10 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
791791
* };
792792
*
793793
* // Test elements:
794-
* var out = blockedevery10d( x, clbk );
794+
* var out = blockedevery10d( x, predicate );
795795
* // returns true
796796
*/
797-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function blockedevery10d( x, clbk, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function</span></span>
797+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function blockedevery10d( x, predicate, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function</span></span>
798798
<span class="cstat-no" title="statement not covered" > var bsize;</span>
799799
<span class="cstat-no" title="statement not covered" > var xbuf;</span>
800800
<span class="cstat-no" title="statement not covered" > var idx;</span>
@@ -992,7 +992,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
992992
<span class="cstat-no" title="statement not covered" > for ( i2 = 0; i2 &lt; s2; i2++ ) {</span>
993993
<span class="cstat-no" title="statement not covered" > for ( i1 = 0; i1 &lt; s1; i1++ ) {</span>
994994
<span class="cstat-no" title="statement not covered" > for ( i0 = 0; i0 &lt; s0; i0++ ) {</span>
995-
<span class="cstat-no" title="statement not covered" > if ( !clbk.call( thisArg, get( xbuf, ix ), take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) {</span>
995+
<span class="cstat-no" title="statement not covered" > if ( !predicate.call( thisArg, get( xbuf, ix ), take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref ) ) {</span>
996996
<span class="cstat-no" title="statement not covered" > return false;</span>
997997
<span class="cstat-no" title="statement not covered" > }</span>
998998
<span class="cstat-no" title="statement not covered" > ix += dx0;</span>
@@ -1039,7 +1039,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
10391039
<div class='footer quiet pad2 space-top1 center small'>
10401040
Code coverage generated by
10411041
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1042-
at 2025-04-19T09:54:50.633Z
1042+
at 2025-04-19T10:49:10.483Z
10431043
</div>
10441044
<script src="../../../../prettify.js"></script>
10451045
<script>

0 commit comments

Comments
 (0)