Skip to content

Commit f0ec0b4

Browse files
authored
docs: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent baf2515 commit f0ec0b4

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/base/shift/lib

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/ndarray/base/shift/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@
3636
* var x = ndarray( 'generic', buffer, shape, strides, offset, 'row-major' );
3737
* // returns <ndarray>
3838
*
39-
* var sh = x.shape;
40-
* // returns [ 3, 2 ]
41-
*
4239
* var arr = ndarray2array( x );
4340
* // returns [ [ 1.0, 2.0 ], [ 3.0, 4.0 ], [ 5.0, 6.0 ] ]
4441
*
4542
* var y = shift( x, 0, false, false );
43+
* // returns [ <ndarray>, <ndarray> ]
4644
*
4745
* arr = ndarray2array( y[ 0 ] );
46+
* // returns [ [ 3, 4 ], [ 5, 6 ] ]
4847
*
4948
* arr = ndarray2array( y[ 1 ] );
49+
* // returns [ [ 1, 2 ] ]
5050
*/
5151

5252
// MODULES //

0 commit comments

Comments
 (0)