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
-**table**: strided binary reduction function dispatch table. Must have the following properties:
59
+
-**table**: strided reduction function dispatch table. Must have the following properties:
60
60
61
-
-**default**: default strided binary reduction function which should be invoked when provided ndarrays have data types which do not have a corresponding specialized implementation.
61
+
-**default**: default strided reduction function which should be invoked when provided ndarrays have data types which do not have a corresponding specialized implementation.
62
62
63
63
A dispatch table may have the following additional properties:
64
64
65
-
-**types**: one-dimensional list of ndarray data types describing specialized input ndarray argument signatures. Only the input ndarray argument data types should be specified. Output ndarray and additional input ndarray argument data types should be omitted and are not considered during dispatch. The length of `types` must equal twice the number of strided functions specified by `fcns` (i.e., for every pair of input ndarray data types, there must be a corresponding strided binary reduction function in `fcns`).
66
-
-**fcns**: list of strided binary reduction functions which are specific to specialized input ndarray argument signatures.
65
+
-**types**: one-dimensional list of ndarray data types describing specialized input ndarray argument signatures. Only the input ndarray argument data types should be specified. Output ndarray and additional input ndarray argument data types should be omitted and are not considered during dispatch. The length of `types` must be twice the number of strided functions specified by `fcns` (i.e., for every pair of input ndarray data types, there must be a corresponding strided reduction function in `fcns`).
66
+
-**fcns**: list of strided reduction functions which are specific to specialized input ndarray argument signatures.
67
67
68
68
-**idtypes**: list containing lists of supported input data types for each input ndarray argument.
69
69
@@ -76,7 +76,7 @@ The function has the following parameters:
76
76
77
77
#### binary( x, y\[, ...args]\[, options] )
78
78
79
-
Performs a binary reduction on two provided input ndarrays.
@@ -118,8 +118,8 @@ The function has the following parameters:
118
118
119
119
The function accepts the following options:
120
120
121
-
-**dims**: list of dimensions over which to perform a binary reduction.
122
-
-**dtype**: output ndarray data type. Setting this option, overrides the output data type policy.
121
+
-**dims**: list of dimensions over which to perform a reduction.
122
+
-**dtype**: output ndarray data type. Setting this option overrides the output data type policy.
123
123
-**keepdims**: boolean indicating whether the reduced dimensions should be included in the returned ndarray as singleton dimensions. Default: `false`.
124
124
125
125
By default, the function returns an ndarray having a data type determined by the output data type policy. To override the default behavior, set the `dtype` option.
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/base/binary-reduce-strided1d-dispatch-factory/benchmark/benchmark.assign.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,8 +55,8 @@ function createBenchmark( len ) {
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/base/binary-reduce-strided1d-dispatch-factory/benchmark/benchmark.length.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,8 +53,8 @@ function createBenchmark( len ) {
0 commit comments