Skip to content

Commit 55b013a

Browse files
committed
docs: update examples
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 4c9b9c1 commit 55b013a

18 files changed

+30
-30
lines changed

lib/node_modules/@stdlib/ndarray/base/every-by/lib/2d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
6060
* var shape = [ 2, 2 ];
6161
*
6262
* // Define the array strides:
63-
* var sx = [ 2, 1 ];
63+
* var sx = [ 4, 1 ];
6464
*
6565
* // Define the index offset:
6666
* var ox = 0;

lib/node_modules/@stdlib/ndarray/base/every-by/lib/2d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var reverse = require( '@stdlib/array/base/reverse' );
6060
* var shape = [ 2, 2 ];
6161
*
6262
* // Define the array strides:
63-
* var sx = [ 2, 1 ];
63+
* var sx = [ 4, 1 ];
6464
*
6565
* // Define the index offset:
6666
* var ox = 0;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
5757
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
5858
*
5959
* // Define the shape of the input array:
60-
* var shape = [ 1, 2, 2 ];
60+
* var shape = [ 2, 2, 2 ];
6161
*
6262
* // Define the array strides:
6363
* var sx = [ 4, 2, 1 ];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var reverse = require( '@stdlib/array/base/reverse' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 2, 2 ];
62+
* var shape = [ 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
6565
* var sx = [ 4, 2, 1 ];

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ var take = require( '@stdlib/array/base/take-indexed' );
5757
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
5858
*
5959
* // Define the shape of the input array:
60-
* var shape = [ 1, 1, 2, 2 ];
60+
* var shape = [ 1, 2, 2, 2 ];
6161
*
6262
* // Define the array strides:
63-
* var sx = [ 4, 4, 2, 1 ];
63+
* var sx = [ 8, 4, 2, 1 ];
6464
*
6565
* // Define the index offset:
6666
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ var reverse = require( '@stdlib/array/base/reverse' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 1, 2, 2 ];
62+
* var shape = [ 1, 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
65-
* var sx = [ 4, 4, 2, 1 ];
65+
* var sx = [ 8, 4, 2, 1 ];
6666
*
6767
* // Define the index offset:
6868
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ var take = require( '@stdlib/array/base/take-indexed' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 1, 1, 2, 2 ];
62+
* var shape = [ 1, 1, 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
65-
* var sx = [ 4, 4, 4, 2, 1 ];
65+
* var sx = [ 8, 8, 4, 2, 1 ];
6666
*
6767
* // Define the index offset:
6868
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ var reverse = require( '@stdlib/array/base/reverse' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 1, 1, 2, 2 ];
62+
* var shape = [ 1, 1, 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
65-
* var sx = [ 4, 4, 4, 2, 1 ];
65+
* var sx = [ 8, 8, 4, 2, 1 ];
6666
*
6767
* // Define the index offset:
6868
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ var take = require( '@stdlib/array/base/take-indexed' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 1, 1, 1, 2, 2 ];
62+
* var shape = [ 1, 1, 1, 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
65-
* var sx = [ 4, 4, 4, 4, 2, 1 ];
65+
* var sx = [ 8, 8, 8, 4, 2, 1 ];
6666
*
6767
* // Define the index offset:
6868
* var ox = 0;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ var reverse = require( '@stdlib/array/base/reverse' );
5959
* var xbuf = toAccessorArray( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
6060
*
6161
* // Define the shape of the input array:
62-
* var shape = [ 1, 1, 1, 1, 2, 2 ];
62+
* var shape = [ 1, 1, 1, 2, 2, 2 ];
6363
*
6464
* // Define the array strides:
65-
* var sx = [ 4, 4, 4, 4, 2, 1 ];
65+
* var sx = [ 8, 8, 8, 4, 2, 1 ];
6666
*
6767
* // Define the index offset:
6868
* var ox = 0;

0 commit comments

Comments
 (0)