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
* Returns a function for performing binary reduction on two input ndarrays.
461
+
* Returns a function for performing a reduction on two input ndarrays.
462
462
*
463
463
* @param {Object} table - dispatch table
464
-
* @param {Function} table.default - default strided binary reduction function
464
+
* @param {Function} table.default - default strided reduction function
465
465
* @param {StringArray} [table.types] - one-dimensional list of ndarray data types describing specialized input ndarray argument signatures
466
-
* @param {ArrayLikeObject<Function>} [table.fcns] - list of strided binary reduction functions which are specific to specialized input ndarray argument signatures
466
+
* @param {ArrayLikeObject<Function>} [table.fcns] - list of strided reduction functions which are specific to specialized input ndarray argument signatures
467
467
* @param {ArrayLikeObject<StringArray>} idtypes - list containing lists of supported input data types for each ndarray argument
468
468
* @param {StringArray} odtypes - list of supported output data types
<spanclass="cstat-no" title="statement not covered" > * @param {Options} [options] - function options</span>
556
-
<spanclass="cstat-no" title="statement not covered" > * @param {IntegerArray} [options.dims] - list of dimensions over which to perform a binary reduction</span>
556
+
<spanclass="cstat-no" title="statement not covered" > * @param {IntegerArray} [options.dims] - list of dimensions over which to perform a reduction</span>
557
557
<spanclass="cstat-no" title="statement not covered" > * @param {boolean} [options.keepdims=false] - boolean indicating whether the reduced dimensions should be included in the returned ndarray as singleton dimensions</span>
558
558
<spanclass="cstat-no" title="statement not covered" > * @param {string} [options.dtype] - output ndarray data type</span>
559
-
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} first argument must be an ndarray-like object</span>
560
-
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} second argument must be an ndarray-like object</span>
559
+
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} first argument must be an ndarray</span>
560
+
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} second argument must be an ndarray</span>
561
561
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} options argument must be an object</span>
562
562
<spanclass="cstat-no" title="statement not covered" > * @throws {RangeError} dimension indices must not exceed input ndarray bounds</span>
563
563
<spanclass="cstat-no" title="statement not covered" > * @throws {RangeError} number of dimension indices must not exceed the number of input ndarray dimensions</span>
<spanclass="cstat-no" title="statement not covered" > }</span>
577
577
<spanclass="cstat-no" title="statement not covered" ></span>
578
578
<spanclass="cstat-no" title="statement not covered" > /**</span>
579
-
<spanclass="cstat-no" title="statement not covered" > * Performs a binary reduction on two provided input ndarrays and assigns results to a provided output ndarray.</span>
579
+
<spanclass="cstat-no" title="statement not covered" > * Performs a reduction on two provided input ndarrays and assigns results to a provided output ndarray.</span>
580
580
<spanclass="cstat-no" title="statement not covered" > *</span>
581
581
<spanclass="cstat-no" title="statement not covered" > * @private</span>
582
582
<spanclass="cstat-no" title="statement not covered" > * @param {ndarrayLike} x - first input ndarray</span>
583
583
<spanclass="cstat-no" title="statement not covered" > * @param {ndarrayLike} y - second input ndarray</span>
<spanclass="cstat-no" title="statement not covered" > * @param {ndarrayLike} out - output ndarray</span>
586
586
<spanclass="cstat-no" title="statement not covered" > * @param {Options} [options] - function options</span>
587
-
<spanclass="cstat-no" title="statement not covered" > * @param {IntegerArray} [options.dims] - list of dimensions over which to perform a binary reduction.</span>
587
+
<spanclass="cstat-no" title="statement not covered" > * @param {IntegerArray} [options.dims] - list of dimensions over which to perform a reduction</span>
588
588
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} first argument must be an ndarray</span>
589
589
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} first argument must have a supported data type</span>
590
590
<spanclass="cstat-no" title="statement not covered" > * @throws {TypeError} second argument must be an ndarray</span>
0 commit comments