Skip to content

Commit 1375823

Browse files
committed
fix: use computed order and fix strides in examples
1 parent bc07347 commit 1375823

17 files changed

+33
-33
lines changed

lib/node_modules/@stdlib/ndarray/base/unary/lib/10d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
6464
*
6565
* // Define the array strides:
66-
* var sx = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
67-
* var sy = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
66+
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
67+
* var sy = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
6868
*
6969
* // Define the index offsets:
7070
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/10d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
6868
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
6969
*
7070
* // Define the array strides:
71-
* var sx = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
72-
* var sy = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
71+
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
72+
* var sy = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
7373
*
7474
* // Define the index offsets:
7575
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/3d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
* var shape = [ 1, 2, 2 ];
6262
*
6363
* // Define the array strides:
64-
* var sx = [ 2, 2, 1 ];
65-
* var sy = [ 2, 2, 1 ];
64+
* var sx = [ 4, 2, 1 ];
65+
* var sy = [ 4, 2, 1 ];
6666
*
6767
* // Define the index offsets:
6868
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/3d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
6868
* var shape = [ 1, 2, 2 ];
6969
*
7070
* // Define the array strides:
71-
* var sx = [ 2, 2, 1 ];
72-
* var sy = [ 2, 2, 1 ];
71+
* var sx = [ 4, 2, 1 ];
72+
* var sy = [ 4, 2, 1 ];
7373
*
7474
* // Define the index offsets:
7575
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/4d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
* var shape = [ 1, 1, 2, 2 ];
6262
*
6363
* // Define the array strides:
64-
* var sx = [ 2, 2, 2, 1 ];
65-
* var sy = [ 2, 2, 2, 1 ];
64+
* var sx = [ 4, 4, 2, 1 ];
65+
* var sy = [ 4, 4, 2, 1 ];
6666
*
6767
* // Define the index offsets:
6868
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/4d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
6868
* var shape = [ 1, 1, 2, 2 ];
6969
*
7070
* // Define the array strides:
71-
* var sx = [ 2, 2, 2, 1 ];
72-
* var sy = [ 2, 2, 2, 1 ];
71+
* var sx = [ 4, 4, 2, 1 ];
72+
* var sy = [ 4, 4, 2, 1 ];
7373
*
7474
* // Define the index offsets:
7575
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/5d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
* var shape = [ 1, 1, 1, 2, 2 ];
6262
*
6363
* // Define the array strides:
64-
* var sx = [ 2, 2, 2, 2, 1 ];
65-
* var sy = [ 2, 2, 2, 2, 1 ];
64+
* var sx = [ 4, 4, 4, 2, 1 ];
65+
* var sy = [ 4, 4, 4, 2, 1 ];
6666
*
6767
* // Define the index offsets:
6868
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/5d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
6868
* var shape = [ 1, 1, 1, 2, 2 ];
6969
*
7070
* // Define the array strides:
71-
* var sx = [ 2, 2, 2, 2, 1 ];
72-
* var sy = [ 2, 2, 2, 2, 1 ];
71+
* var sx = [ 4, 4, 4, 2, 1 ];
72+
* var sy = [ 4, 4, 4, 2, 1 ];
7373
*
7474
* // Define the index offsets:
7575
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/6d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
* var shape = [ 1, 1, 1, 1, 2, 2 ];
6464
*
6565
* // Define the array strides:
66-
* var sx = [ 2, 2, 2, 2, 2, 1 ];
67-
* var sy = [ 2, 2, 2, 2, 2, 1 ];
66+
* var sx = [ 4, 4, 4, 4, 2, 1 ];
67+
* var sy = [ 4, 4, 4, 4, 2, 1 ];
6868
*
6969
* // Define the index offsets:
7070
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/unary/lib/6d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
6868
* var shape = [ 1, 1, 1, 1, 2, 2 ];
6969
*
7070
* // Define the array strides:
71-
* var sx = [ 2, 2, 2, 2, 2, 1 ];
72-
* var sy = [ 2, 2, 2, 2, 2, 1 ];
71+
* var sx = [ 4, 4, 4, 4, 2, 1 ];
72+
* var sy = [ 4, 4, 4, 4, 2, 1 ];
7373
*
7474
* // Define the index offsets:
7575
* var ox = 0;

0 commit comments

Comments
 (0)