@@ -23,9 +23,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
23
23
< div class ='clearfix '>
24
24
25
25
< div class ='fl pad1y space-right2 '>
26
- < span class ="strong "> 34.73 % </ span >
26
+ < span class ="strong "> 34.98 % </ span >
27
27
< span class ="quiet "> Statements</ span >
28
- < span class ='fraction '> 91/262 </ span >
28
+ < span class ='fraction '> 92/263 </ span >
29
29
</ div >
30
30
31
31
@@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
44
44
45
45
46
46
< div class ='fl pad1y space-right2 '>
47
- < span class ="strong "> 34.73 % </ span >
47
+ < span class ="strong "> 34.98 % </ span >
48
48
< span class ="quiet "> Lines</ span >
49
- < span class ='fraction '> 91/262 </ span >
49
+ < span class ='fraction '> 92/263 </ span >
50
50
</ div >
51
51
52
52
@@ -325,7 +325,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
325
325
< a name ='L260 '> </ a > < a href ='#L260 '> 260</ a >
326
326
< a name ='L261 '> </ a > < a href ='#L261 '> 261</ a >
327
327
< a name ='L262 '> </ a > < a href ='#L262 '> 262</ a >
328
- < a name ='L263 '> </ a > < a href ='#L263 '> 263</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
328
+ < a name ='L263 '> </ a > < a href ='#L263 '> 263</ a >
329
+ < a name ='L264 '> </ a > < a href ='#L264 '> 264</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
330
+ < span class ="cline-any cline-yes "> 1x</ span >
329
331
< span class ="cline-any cline-yes "> 1x</ span >
330
332
< span class ="cline-any cline-yes "> 1x</ span >
331
333
< span class ="cline-any cline-yes "> 1x</ span >
@@ -629,6 +631,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
629
631
* @param {IntegerArray} y.strides - stride lengths
630
632
* @param {NonNegativeInteger} y.offset - index offset
631
633
* @param {string} y.order - specifies whether `y` is row-major (C-style) or column-major (Fortran-style)
634
+ * @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
632
635
* @returns {void}
633
636
*
634
637
* @example
@@ -668,12 +671,12 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
668
671
* };
669
672
*
670
673
* // Copy elements:
671
- * assign10d( x, y );
674
+ * assign10d( x, y, true );
672
675
*
673
676
* console.log( y.data );
674
677
* // => <Float64Array>[ 2.0, 3.0, 6.0, 7.0, 10.0, 11.0 ]
675
678
*/
676
- < span class ="cstat-no " title ="statement not covered " > < span class ="fstat-no " title ="function not covered " > function assign10d( x, y ) { // eslint-disable-line max-statements</ span > </ span >
679
+ < span class ="cstat-no " title ="statement not covered " > < span class ="fstat-no " title ="function not covered " > function assign10d( x, y, isRowMajor ) { // eslint-disable-line max-statements</ span > </ span >
677
680
< span class ="cstat-no " title ="statement not covered " > var xbuf;</ span >
678
681
< span class ="cstat-no " title ="statement not covered " > var ybuf;</ span >
679
682
< span class ="cstat-no " title ="statement not covered " > var dx0;</ span >
@@ -728,7 +731,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
728
731
< span class ="cstat-no " title ="statement not covered " > sh = x.shape;</ span >
729
732
< span class ="cstat-no " title ="statement not covered " > sx = x.strides;</ span >
730
733
< span class ="cstat-no " title ="statement not covered " > sy = y.strides;</ span >
731
- < span class ="cstat-no " title ="statement not covered " > if ( x.order === 'row-major' ) {</ span >
734
+ < span class ="cstat-no " title ="statement not covered " > if ( isRowMajor ) {</ span >
732
735
< span class ="cstat-no " title ="statement not covered " > // For row-major ndarrays, the last dimensions have the fastest changing indices...</ span >
733
736
< span class ="cstat-no " title ="statement not covered " > S0 = sh[ 9 ];</ span >
734
737
< span class ="cstat-no " title ="statement not covered " > S1 = sh[ 8 ];</ span >
@@ -856,7 +859,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
856
859
< div class ='footer quiet pad2 space-top1 center small '>
857
860
Code coverage generated by
858
861
< a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
859
- at 2025-05-07T02:40:14.525Z
862
+ at 2025-05-08T01:45:01.223Z
860
863
</ div >
861
864
< script src ="../../../../prettify.js "> </ script >
862
865
< script >
0 commit comments