Skip to content

Commit e9d58ab

Browse files
committed
refactor: resolve dtype string and update documented type
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2c42c06 commit e9d58ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+88
-87
lines changed

lib/node_modules/@stdlib/ndarray/base/assign/lib/0d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Object} y - object containing output ndarray meta data
35-
* @param {string} y.dtype - data type
35+
* @param {*} y.dtype - data type
3636
* @param {Collection} y.data - data buffer
3737
* @param {NonNegativeIntegerArray} y.shape - dimensions
3838
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/0d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Array<Function>} x.accessors - data buffer accessors
3535
* @param {Object} y - object containing output ndarray meta data
36-
* @param {string} y.dtype - data type
36+
* @param {*} y.dtype - data type
3737
* @param {Collection} y.data - data buffer
3838
* @param {NonNegativeIntegerArray} y.shape - dimensions
3939
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/10d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
*
2828
* @private
2929
* @param {Object} x - object containing input ndarray meta data
30-
* @param {string} x.dtype - data type
30+
* @param {*} x.dtype - data type
3131
* @param {Collection} x.data - data buffer
3232
* @param {NonNegativeIntegerArray} x.shape - dimensions
3333
* @param {IntegerArray} x.strides - stride lengths
3434
* @param {NonNegativeInteger} x.offset - index offset
3535
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3636
* @param {Object} y - object containing output ndarray meta data
37-
* @param {string} y.dtype - data type
37+
* @param {*} y.dtype - data type
3838
* @param {Collection} y.data - data buffer
3939
* @param {NonNegativeIntegerArray} y.shape - dimensions
4040
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/10d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
*
2828
* @private
2929
* @param {Object} x - object containing input ndarray meta data
30-
* @param {string} x.dtype - data type
30+
* @param {*} x.dtype - data type
3131
* @param {Collection} x.data - data buffer
3232
* @param {NonNegativeIntegerArray} x.shape - dimensions
3333
* @param {IntegerArray} x.strides - stride lengths
3434
* @param {NonNegativeInteger} x.offset - index offset
3535
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3636
* @param {Array<Function>} x.accessors - data buffer accessors
3737
* @param {Object} y - object containing output ndarray meta data
38-
* @param {string} y.dtype - data type
38+
* @param {*} y.dtype - data type
3939
* @param {Collection} y.data - data buffer
4040
* @param {NonNegativeIntegerArray} y.shape - dimensions
4141
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/10d_blocked.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
3333
*
3434
* @private
3535
* @param {Object} x - object containing input ndarray meta data
36-
* @param {string} x.dtype - data type
36+
* @param {*} x.dtype - data type
3737
* @param {Collection} x.data - data buffer
3838
* @param {NonNegativeIntegerArray} x.shape - dimensions
3939
* @param {IntegerArray} x.strides - stride lengths
4040
* @param {NonNegativeInteger} x.offset - index offset
4141
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
4242
* @param {Object} y - object containing output ndarray meta data
43-
* @param {string} y.dtype - data type
43+
* @param {*} y.dtype - data type
4444
* @param {Collection} y.data - data buffer
4545
* @param {NonNegativeIntegerArray} y.shape - dimensions
4646
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/10d_blocked_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ var blockSize = require( '@stdlib/ndarray/base/unary-tiling-block-size' );
3333
*
3434
* @private
3535
* @param {Object} x - object containing input ndarray meta data
36-
* @param {string} x.dtype - data type
36+
* @param {*} x.dtype - data type
3737
* @param {Collection} x.data - data buffer
3838
* @param {NonNegativeIntegerArray} x.shape - dimensions
3939
* @param {IntegerArray} x.strides - stride lengths
4040
* @param {NonNegativeInteger} x.offset - index offset
4141
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
4242
* @param {Array<Function>} x.accessors - data buffer accessors
4343
* @param {Object} y - object containing output ndarray meta data
44-
* @param {string} y.dtype - data type
44+
* @param {*} y.dtype - data type
4545
* @param {Collection} y.data - data buffer
4646
* @param {NonNegativeIntegerArray} y.shape - dimensions
4747
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/1d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Object} y - object containing output ndarray meta data
35-
* @param {string} y.dtype - data type
35+
* @param {*} y.dtype - data type
3636
* @param {Collection} y.data - data buffer
3737
* @param {NonNegativeIntegerArray} y.shape - dimensions
3838
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/1d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Array<Function>} x.accessors - data buffer accessors
3535
* @param {Object} y - object containing output ndarray meta data
36-
* @param {string} y.dtype - data type
36+
* @param {*} y.dtype - data type
3737
* @param {Collection} y.data - data buffer
3838
* @param {NonNegativeIntegerArray} y.shape - dimensions
3939
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/2d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Object} y - object containing output ndarray meta data
35-
* @param {string} y.dtype - data type
35+
* @param {*} y.dtype - data type
3636
* @param {Collection} y.data - data buffer
3737
* @param {NonNegativeIntegerArray} y.shape - dimensions
3838
* @param {IntegerArray} y.strides - stride lengths

lib/node_modules/@stdlib/ndarray/base/assign/lib/2d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
*
2626
* @private
2727
* @param {Object} x - object containing input ndarray meta data
28-
* @param {string} x.dtype - data type
28+
* @param {*} x.dtype - data type
2929
* @param {Collection} x.data - data buffer
3030
* @param {NonNegativeIntegerArray} x.shape - dimensions
3131
* @param {IntegerArray} x.strides - stride lengths
3232
* @param {NonNegativeInteger} x.offset - index offset
3333
* @param {string} x.order - specifies whether `x` is row-major (C-style) or column-major (Fortran-style)
3434
* @param {Array<Function>} x.accessors - data buffer accessors
3535
* @param {Object} y - object containing output ndarray meta data
36-
* @param {string} y.dtype - data type
36+
* @param {*} y.dtype - data type
3737
* @param {Collection} y.data - data buffer
3838
* @param {NonNegativeIntegerArray} y.shape - dimensions
3939
* @param {IntegerArray} y.strides - stride lengths

0 commit comments

Comments
 (0)