Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3289,6 +3289,7 @@ interface Namespace {
* @example
* var Slice = require( '@stdlib/slice/ctor' );
* var MultiSlice = require( '@stdlib/slice/multi' );
* var getShape = require( '@stdlib/ndarray/shape' );
* var ndarray = require( '@stdlib/ndarray/ctor' );
*
* var buffer = [ 1, 2, 3, 4, 5, 6 ];
Expand All @@ -3299,7 +3300,7 @@ interface Namespace {
* var x = ndarray( 'generic', buffer, shape, strides, offset, 'row-major' );
* // returns <ndarray>[ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ]
*
* var sh = x.shape;
* var sh = getShape( x );
* // returns [ 3, 2 ]
*
* var s0 = new Slice( null, null, -2 );
Expand All @@ -3308,7 +3309,7 @@ interface Namespace {
* var y = ns.slice( x, s0, s1 );
* // returns <ndarray>[ [ 6, 5 ], [ 2, 1 ] ]
*
* sh = y.shape;
* sh = getShape( y );
* // returns [ 2, 2 ]
*/
slice: typeof slice;
Expand Down
Loading