You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -674,6 +674,11 @@ A total of 37 issues were closed in this release:
674
674
675
675
<details>
676
676
677
+
-[`697b9ed`](https://github.com/stdlib-js/stdlib/commit/697b9edd6f85e39a03bed4f142814238bb3cdce8) - **docs:** update examples and docs to accommodate data type instances _(by Athan Reines)_
678
+
-[`452cc00`](https://github.com/stdlib-js/stdlib/commit/452cc003a69938f9cdce6ed45219f41673af1c1f) - **docs:** update example _(by Athan Reines)_
679
+
-[`5e87686`](https://github.com/stdlib-js/stdlib/commit/5e87686d428b0ae5570c1f0c56d4c6721b13643d) - **docs:** update examples to use ndarray instance notation _(by Athan Reines)_
680
+
-[`67fe5f8`](https://github.com/stdlib-js/stdlib/commit/67fe5f8d3c4f7c7bbb322e648d48a462960b4b99) - **docs:** update type _(by Athan Reines)_
-[`da7ea70`](https://github.com/stdlib-js/stdlib/commit/da7ea70b7b2de281c4c1364fe7dca3ef8ca7085c) - **refactor:** support data type instances _(by Athan Reines)_
* var y = new ndarray( 'generic', ybuf, [ ybuf.length ], [ 1 ], 0, 'row-major' );
153
153
*
154
154
* var z = dot( x, y );
155
-
* // returns <ndarray>
156
-
*
157
-
* var v = z.get();
158
-
* // returns -5.0
155
+
* // returns <ndarray>[ -5.0 ]
159
156
*/
160
157
(x: InputArray<T>,y: InputArray<T>, ...args: Array<InputArray<T>|Options>): OutputArray<U>;// NOTE: we lose type specificity here, but retaining specificity would likely be difficult and/or tedious to completely enumerate, as the output ndarray data type is dependent on how the input ndarrays interact with output data type policy and whether that policy has been overridden by `options.dtype`. In principle, as well, based on the policy, it is possible to know more exactly which `InputArray` types are actually allowed.
Copy file name to clipboardExpand all lines: base/binary-reduce-strided1d-dispatch-factory/lib/main.js
+5-11Lines changed: 5 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,10 @@ var BinaryStrided1dDispatch = require( './../../../base/binary-reduce-strided1d-
31
31
*
32
32
* @param {Object} table - dispatch table
33
33
* @param {Function} table.default - default strided reduction function
34
-
* @param {StringArray} [table.types] - one-dimensional list of ndarray data types describing specialized input ndarray argument signatures
34
+
* @param {ArrayLikeObject} [table.types] - one-dimensional list of ndarray data types describing specialized input ndarray argument signatures
35
35
* @param {ArrayLikeObject<Function>} [table.fcns] - list of strided reduction functions which are specific to specialized input ndarray argument signatures
36
-
* @param {ArrayLikeObject<StringArray>} idtypes - list containing lists of supported input data types for each ndarray argument
37
-
* @param {StringArray} odtypes - list of supported output data types
36
+
* @param {ArrayLikeObject<ArrayLikeObject>} idtypes - list containing lists of supported input data types for each ndarray argument
37
+
* @param {ArrayLikeObject} odtypes - list of supported output data types
38
38
* @param {Object} policies - policies
39
39
* @param {string} policies.output - output data type policy
Copy file name to clipboardExpand all lines: base/binary-reduce-strided1d-dispatch/lib/main.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,10 @@ var DEFAULT_ORDER = defaults.get( 'order' );
77
77
* @constructor
78
78
* @param {Object} table - dispatch table
79
79
* @param {Function} table.default - default strided reduction function
80
-
* @param {Array} [table.types=[]] - one-dimensional list of ndarray data types describing specialized input ndarray argument signatures
80
+
* @param {ArrayLikeObject} [table.types=[]] - one-dimensional list of ndarray data types describing specialized input ndarray argument signatures
81
81
* @param {ArrayLikeObject<Function>} [table.fcns=[]] - list of strided reduction functions which are specific to specialized input ndarray argument signatures
82
-
* @param {ArrayLikeObject<Array>} idtypes - list containing lists of supported input data types for each input ndarray argument
83
-
* @param {Array} odtypes - list of supported output data types
82
+
* @param {ArrayLikeObject<ArrayLikeObject>} idtypes - list containing lists of supported input data types for each input ndarray argument
83
+
* @param {ArrayLikeObject} odtypes - list of supported output data types
84
84
* @param {Object} policies - policies
85
85
* @param {string} policies.output - output data type policy
0 commit comments