Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{{alias}}( x )
Returns an object for reshaping an ndarray as a one-dimensional strided
array view.
Returns an object containing methods for reshaping an ndarray as a one-
dimensional strided array view.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
* };
*
* // Apply strided function:
* kernel( gcusum, [ x, y, initial ], views, [ 1, 1, 1, 3 ], [ 12, 12, 12, 4 ], [ 12, 12, 12, 4 ], strategy, strategy, {} );

Check warning on line 149 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/unary-strided1d/unblocked/lib/4d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "gcusum"
*
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
* // returns [ [ [ [ [ [ 1.0, 3.0 ], [ 6.0, 10.0 ] ], [ [ 5.0, 11.0 ], [ 18.0, 26.0 ] ], [ [ 9.0, 19.0 ], [ 30.0, 42.0 ] ] ] ] ] ]
Expand Down Expand Up @@ -199,7 +199,7 @@
dv0.push( sv[3] );
dv1.push( sv[2] - ( S0*sv[3] ) );
dv2.push( sv[1] - ( S1*sv[2] ) );
dv3.push( sv[0] - ( S2*sv[1]) );
dv3.push( sv[0] - ( S2*sv[1] ) );
}
} else { // order === 'column-major'
// For column-major ndarrays, the first dimensions have the fastest changing indices...
Expand Down