Skip to content

Commit e2b7fb5

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

17 files changed

+33
-33
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
6767
*
6868
* // Define the array strides:
69-
* var sx = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
70-
* var sy = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
69+
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
70+
* var sy = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
7171
*
7272
* // Define the index offsets:
7373
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
7171
* var shape = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 ];
7272
*
7373
* // Define the array strides:
74-
* var sx = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
75-
* var sy = [ 2, 2, 2, 2, 2, 2, 2, 2, 2, 1 ];
74+
* var sx = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
75+
* var sy = [ 4, 4, 4, 4, 4, 4, 4, 4, 2, 1 ];
7676
*
7777
* // Define the index offsets:
7878
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
* var shape = [ 1, 2, 2 ];
6767
*
6868
* // Define the array strides:
69-
* var sx = [ 2, 2, 1 ];
70-
* var sy = [ 2, 2, 1 ];
69+
* var sx = [ 4, 2, 1 ];
70+
* var sy = [ 4, 2, 1 ];
7171
*
7272
* // Define the index offsets:
7373
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
7171
* var shape = [ 1, 2, 2 ];
7272
*
7373
* // Define the array strides:
74-
* var sx = [ 2, 2, 1 ];
75-
* var sy = [ 2, 2, 1 ];
74+
* var sx = [ 4, 2, 1 ];
75+
* var sy = [ 4, 2, 1 ];
7676
*
7777
* // Define the index offsets:
7878
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
* var shape = [ 1, 1, 2, 2 ];
6767
*
6868
* // Define the array strides:
69-
* var sx = [ 2, 2, 2, 1 ];
70-
* var sy = [ 2, 2, 2, 1 ];
69+
* var sx = [ 4, 4, 2, 1 ];
70+
* var sy = [ 4, 4, 2, 1 ];
7171
*
7272
* // Define the index offsets:
7373
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
7171
* var shape = [ 1, 1, 2, 2 ];
7272
*
7373
* // Define the array strides:
74-
* var sx = [ 2, 2, 2, 1 ];
75-
* var sy = [ 2, 2, 2, 1 ];
74+
* var sx = [ 4, 4, 2, 1 ];
75+
* var sy = [ 4, 4, 2, 1 ];
7676
*
7777
* // Define the index offsets:
7878
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
* var shape = [ 1, 1, 1, 2, 2 ];
6767
*
6868
* // Define the array strides:
69-
* var sx = [ 2, 2, 2, 2, 1 ];
70-
* var sy = [ 2, 2, 2, 2, 1 ];
69+
* var sx = [ 4, 4, 4, 2, 1 ];
70+
* var sy = [ 4, 4, 4, 2, 1 ];
7171
*
7272
* // Define the index offsets:
7373
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
7171
* var shape = [ 1, 1, 1, 2, 2 ];
7272
*
7373
* // Define the array strides:
74-
* var sx = [ 2, 2, 2, 2, 1 ];
75-
* var sy = [ 2, 2, 2, 2, 1 ];
74+
* var sx = [ 4, 4, 4, 2, 1 ];
75+
* var sy = [ 4, 4, 4, 2, 1 ];
7676
*
7777
* // Define the index offsets:
7878
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
* var shape = [ 1, 1, 1, 1, 2, 2 ];
6767
*
6868
* // Define the array strides:
69-
* var sx = [ 2, 2, 2, 2, 2, 1 ];
70-
* var sy = [ 2, 2, 2, 2, 2, 1 ];
69+
* var sx = [ 4, 4, 4, 4, 2, 1 ];
70+
* var sy = [ 4, 4, 4, 4, 2, 1 ];
7171
*
7272
* // Define the index offsets:
7373
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
7171
* var shape = [ 1, 1, 1, 1, 2, 2 ];
7272
*
7373
* // Define the array strides:
74-
* var sx = [ 2, 2, 2, 2, 2, 1 ];
75-
* var sy = [ 2, 2, 2, 2, 2, 1 ];
74+
* var sx = [ 4, 4, 4, 4, 2, 1 ];
75+
* var sy = [ 4, 4, 4, 4, 2, 1 ];
7676
*
7777
* // Define the index offsets:
7878
* var ox = 0;

0 commit comments

Comments
 (0)