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
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/namespace/lib/namespace/u.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,7 @@ ns.push({
'type': 'Function',
'related': [
'@stdlib/datasets/us-states-capitals',
'@stdlib/datasets/us-states-names',
'@stdlib/datasets/us-states-names-capitals'
'@stdlib/datasets/us-states-names'
]
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var fill = require( '@stdlib/ndarray/base/fill' );
* @param {IntegerArray} dims - dimension indices defining the plane in which to fill the diagonal
* @param {integer} k - diagonal offset
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @throws {TypeError} second argument cannot be safely cast to the input array data type
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/base/rot90/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var format = require( '@stdlib/string/format' );
* @param {integer} k - number of times to rotate by 90 degrees
* @param {boolean} writable - boolean indicating whether the returned ndarray should be writable
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} ndarray view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var assign = require( '@stdlib/ndarray/base/assign' );
* @param {ndarray} x - input array
* @param {IntegerArray} dims - dimension indices defining the plane of rotation
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} output array
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/base/to-rot90/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var assign = require( '@stdlib/ndarray/base/assign' );
* @param {IntegerArray} dims - dimension indices defining the plane of rotation
* @param {integer} k - number of times to rotate by 90 degrees
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} output array
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/diagonal/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var format = require( '@stdlib/string/format' );
* @throws {TypeError} `k` option must be an integer
* @throws {TypeError} `dims` option must be an array of integers
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} ndarray view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var format = require( '@stdlib/string/format' );
* @param {Options} [options] - function options
* @param {boolean} [options.readonly=true] - boolean indicating whether returned views should be read-only
* @throws {TypeError} first argument must be an ndarray
* @throws {TypeError} first argument must have at least two dimensions
* @throws {TypeError} first argument must have two or more dimensions
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} cannot write to a read-only array
Expand Down Expand Up @@ -120,7 +120,7 @@ function nditerColumnEntries( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( 'invalid argument. First argument must be an ndarray having two or more dimensions.' );
}

// Check whether the input array is empty...
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/ndarray/iter/columns/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var format = require( '@stdlib/string/format' );
* @param {Options} [options] - function options
* @param {boolean} [options.readonly=true] - boolean indicating whether returned views should be read-only
* @throws {TypeError} first argument must be an ndarray
* @throws {TypeError} first argument must have at least two dimensions
* @throws {TypeError} first argument must have two or more dimensions
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} cannot write to a read-only array
Expand Down Expand Up @@ -120,7 +120,7 @@ function nditerColumns( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( 'invalid argument. First argument must be an ndarray having two or more dimensions.' );
}
// Check whether the input array is empty...
N = numel( shape );
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/ndarray/iter/row-entries/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var format = require( '@stdlib/string/format' );
* @param {Options} [options] - function options
* @param {boolean} [options.readonly=true] - boolean indicating whether returned views should be read-only
* @throws {TypeError} first argument must be an ndarray
* @throws {TypeError} first argument must have at least two dimensions
* @throws {TypeError} first argument must have two or more dimensions
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} cannot write to a read-only array
Expand Down Expand Up @@ -120,7 +120,7 @@ function nditerRowEntries( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( 'invalid argument. First argument must be an ndarray having two or more dimensions.' );
}

// Check whether the input array is empty...
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/ndarray/iter/rows/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var format = require( '@stdlib/string/format' );
* @param {Options} [options] - function options
* @param {boolean} [options.readonly=true] - boolean indicating whether returned views should be read-only
* @throws {TypeError} first argument must be an ndarray
* @throws {TypeError} first argument must have at least two dimensions
* @throws {TypeError} first argument must have two or more dimensions
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} cannot write to a read-only array
Expand Down Expand Up @@ -120,7 +120,7 @@ function nditerRows( x ) {

// Ensure that the input array has sufficient dimensions...
if ( ndims < 2 ) {
throw new TypeError( 'invalid argument. First argument must be an ndarray having at least two dimensions.' );
throw new TypeError( 'invalid argument. First argument must be an ndarray having two or more dimensions.' );
}
// Check whether the input array is empty...
N = numel( shape );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/rot180/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var format = require( '@stdlib/string/format' );
* @throws {TypeError} options argument must be an object
* @throws {TypeError} `dims` option must be an array of integers
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} ndarray view
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/rot90/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var format = require( '@stdlib/string/format' );
* @throws {TypeError} `k` option must be an integer
* @throws {TypeError} `dims` option must be an array of integers
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} ndarray view
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/to-rot180/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var base = require( '@stdlib/ndarray/base/to-rot180' );
* @throws {TypeError} options argument must be an object
* @throws {TypeError} `dims` option must be an array of integers
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} output ndarray
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/ndarray/to-rot90/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var format = require( '@stdlib/string/format' );
* @throws {TypeError} `k` option must be an integer
* @throws {TypeError} `dims` option must be an array of integers
* @throws {RangeError} must provide exactly two dimension indices
* @throws {RangeError} input ndarray must have at least two dimensions
* @throws {RangeError} input ndarray must have two or more dimensions
* @throws {RangeError} must provide valid dimension indices
* @throws {Error} must provide unique dimension indices
* @returns {ndarray} output ndarray
Expand Down