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
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The namespace contains the following:
- <span class="signature">[`cuevery( x[, options] )`][@stdlib/blas/ext/cuevery]</span><span class="delimiter">: </span><span class="description">cumulatively test whether every element along one or more ndarray dimensions is truthy.</span>
- <span class="signature">[`cunone( x[, options] )`][@stdlib/blas/ext/cunone]</span><span class="delimiter">: </span><span class="description">cumulatively test whether every element along one or more ndarray dimensions is falsy.</span>
- <span class="signature">[`cusum( x[, initial][, options] )`][@stdlib/blas/ext/cusum]</span><span class="delimiter">: </span><span class="description">compute the cumulative sum along one or more ndarray dimensions.</span>
- <span class="signature">[`fillRange( x, value[, start[, end]][, options] )`][@stdlib/blas/ext/fill-range]</span><span class="delimiter">: </span><span class="description">fill an input ndarray with a specified value along an ndarray dimension.</span>
- <span class="signature">[`fillBetween( x, value[, start[, end]][, options] )`][@stdlib/blas/ext/fill-between]</span><span class="delimiter">: </span><span class="description">fill an input ndarray with a specified value along an ndarray dimension.</span>
- <span class="signature">[`findIndex( x[, fromIndex][, options], clbk[, thisArg] )`][@stdlib/blas/ext/find-index]</span><span class="delimiter">: </span><span class="description">return the index of the first element along an ndarray dimension which passes a test implemented by a predicate function.</span>
- <span class="signature">[`findLastIndex( x[, fromIndex][, options], clbk[, thisArg] )`][@stdlib/blas/ext/find-last-index]</span><span class="delimiter">: </span><span class="description">return the index of the last element along an ndarray dimension which passes a test implemented by a predicate function.</span>
- <span class="signature">[`indexOfFalsy( x[, fromIndex][, options] )`][@stdlib/blas/ext/index-of-falsy]</span><span class="delimiter">: </span><span class="description">return the index of the first falsy element along an ndarray dimension.</span>
Expand Down Expand Up @@ -128,7 +128,7 @@ console.log( objectKeys( ns ) );

[@stdlib/blas/ext/cusum]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/cusum

[@stdlib/blas/ext/fill-range]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/fill-range
[@stdlib/blas/ext/fill-between]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/fill-between

[@stdlib/blas/ext/find-index]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/find-index

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ var ones = require( '@stdlib/array/base/ones' );
* @param {Array<Function>} A.accessors - matrix element accessors
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Object} x - search vector object
* @param {Collection} x.data - search vector data
* @param {Array<Function>} x.accessors - search vector element accessors
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} column index
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ var accessors = require( './accessors.js' );
* @param {Collection} A - input matrix
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Collection} x - search vector
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} column index
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ var base = require( './base.js' );
* @param {Collection} A - input matrix
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Collection} x - search vector
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} column index
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ var ones = require( '@stdlib/array/base/ones' );
* @param {Array<Function>} A.accessors - matrix element accessors
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Object} x - search vector object
* @param {Collection} x.data - search vector data
* @param {Array<Function>} x.accessors - search vector element accessors
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} row index
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ var accessors = require( './accessors.js' );
* @param {Collection} A - input matrix
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Collection} x - search vector
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} row index
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ var base = require( './base.js' );
* @param {Collection} A - input matrix
* @param {integer} strideA1 - stride length for the first dimension of `A`
* @param {integer} strideA2 - stride length for the second dimension of `A`
* @param {NonNegativeInteger} offsetA - index offset for `A`
* @param {NonNegativeInteger} offsetA - starting index for `A`
* @param {Collection} x - search vector
* @param {integer} strideX - stride length for `x`
* @param {NonNegativeInteger} offsetX - index offset for `x`
* @param {NonNegativeInteger} offsetX - starting index for `x`
* @returns {integer} row index
*
* @example
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/blas/ext/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import cuany = require( '@stdlib/blas/ext/cuany' );
import cuevery = require( '@stdlib/blas/ext/cuevery' );
import cunone = require( '@stdlib/blas/ext/cunone' );
import cusum = require( '@stdlib/blas/ext/cusum' );
import fillRange = require( '@stdlib/blas/ext/fill-range' );
import fillBetween = require( '@stdlib/blas/ext/fill-between' );
import findIndex = require( '@stdlib/blas/ext/find-index' );
import findLastIndex = require( '@stdlib/blas/ext/find-last-index' );
import indexOf = require( '@stdlib/blas/ext/index-of' );
Expand Down Expand Up @@ -254,13 +254,13 @@ interface Namespace {
*
* var x = array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
*
* var y = ns.fillRange( x, 10.0, 1, 4 );
* var y = ns.fillBetween( x, 10.0, 1, 4 );
* // returns <ndarray>[ 1.0, 10.0, 10.0, 10.0, 5.0, 6.0 ]
*
* var bool = ( x === y );
* // returns true
*/
fillRange: typeof fillRange;
fillBetween: typeof fillBetween;

/**
* Returns the index of the first element along an ndarray dimension which passes a test implemented by a predicate function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ interface Options {
/**
* Interface for filling an ndarray.
*/
interface FillRange {
interface FillBetween {
/**
* Fills an input ndarray with a specified value along an ndarray dimension.
*
Expand Down Expand Up @@ -330,7 +330,7 @@ interface FillRange {
* var bool = ( x === y );
* // returns true
*/
declare const fillBetween: FillRange;
declare const fillBetween: FillBetween;


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 99 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/10d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -198,7 +198,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 9 ];
S1 = shape[ 8 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 97 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/2d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -172,7 +172,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 1 ];
S1 = shape[ 0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 97 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/3d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -175,7 +175,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 2 ];
S1 = shape[ 1 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

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

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -178,7 +178,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 3 ];
S1 = shape[ 2 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 97 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/5d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -181,7 +181,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 4 ];
S1 = shape[ 3 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 99 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/6d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -186,7 +186,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 5 ];
S1 = shape[ 4 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 99 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/7d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -189,7 +189,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 6 ];
S1 = shape[ 5 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 99 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/8d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -192,7 +192,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 7 ];
S1 = shape[ 6 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
* // Create an output ndarray descriptor:
* var z = {
* 'dtype': 'float64',
* 'data': zbuf,

Check warning on line 99 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/9d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "zbuf"
* 'shape': zsh,
* 'strides': sz,
* 'offset': oz,
Expand Down Expand Up @@ -159,7 +159,7 @@
* var arr = ndarray2array( z.data, z.shape, z.strides, z.offset, z.order );
* // returns [ [ [ [ [ [ [ [ [ [ [ 3.0, 5.0 ], [ 7.0, 9.0 ] ], [ [ 11.0, 13.0 ], [ 15.0, 17.0 ] ], [ [ 19.0, 21.0 ], [ 23.0, 25.0 ] ] ] ] ] ] ] ] ] ] ]
*/
function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, strategyX, strategyY, strategyZ, opts ) { // eslint-disable-line max-params, max-statements

Check warning on line 162 in lib/node_modules/@stdlib/ndarray/base/kernels/generic/binary-strided1d/unblocked/lib/9d.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Function 'kernel' has too many lines (203). Maximum allowed is 200
var dv0;
var dv1;
var dv2;
Expand Down Expand Up @@ -195,7 +195,7 @@
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 8 ];
S1 = shape[ 7 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 9 ];
S1 = shape[ 8 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 1 ];
S1 = shape[ 0 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 2 ];
S1 = shape[ 1 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 3 ];
S1 = shape[ 2 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 4 ];
S1 = shape[ 3 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 5 ];
S1 = shape[ 4 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 6 ];
S1 = shape[ 5 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) { // eslint-disable-line max-len
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 7 ];
S1 = shape[ 6 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function kernel( fcn, arrays, views, shape, stridesX, stridesY, stridesZ, stride
// Note on variable naming convention: S#, dv#, i# where # corresponds to the loop number, with `0` being the innermost loop...

// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
if ( isRowMajor( consensusOrder( stridesX, stridesY, stridesZ, stridesW ) ) ) {
if ( isRowMajor( consensusOrder( [ stridesX, stridesY, stridesZ, stridesW ] ) ) ) {
// For row-major ndarrays, the last dimensions have the fastest changing indices...
S0 = shape[ 8 ];
S1 = shape[ 7 ];
Expand Down
Loading