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 an interface for applying a strided function to an output ndarray.
41
+
Returns an interface for applying a strided function to an ndarray.
36
42
37
43
```javascript
38
44
var base =require( '@stdlib/blas/ext/base/ndarray/gsorthp' );
@@ -42,11 +48,8 @@ var table = {
42
48
};
43
49
44
50
var dtypes = [ 'float64', 'float32', 'generic' ];
45
-
var policies = {
46
-
'output':'same'
47
-
};
48
51
49
-
var nullary =newNullaryStrided1dDispatch( table, [ dtypes ], policies );
52
+
var nullary =newNullaryStrided1dDispatch( table, [ dtypes ], dtypes );
50
53
```
51
54
52
55
The constructor has the following parameters:
@@ -60,19 +63,17 @@ The constructor has the following parameters:
60
63
-**types**: one-dimensional list of ndarray data types describing specialized output ndarray argument signatures. Only the output ndarray argument data types should be specified. Additional ndarray argument data types should be omitted and are not considered during dispatch. The length of `types` must equal the number of strided functions specified by `fcns`.
61
64
-**fcns**: list of strided functions which are specific to specialized output ndarray argument signatures.
62
65
63
-
-**odtypes**: list of supported output data types.
64
-
65
-
-**policies**: dispatch policies. Must have the following properties:
66
+
-**idtypes**: list containing lists of supported input data types for each input ndarray argument.
66
67
67
-
-**output**: output data type [policy][@stdlib/ndarray/output-dtype-policies].
68
+
-**odtypes**: list of supported output data types.
68
69
69
70
-**options**: function options (_optional_).
70
71
71
72
The constructor supports the following options:
72
73
73
-
-**strictTraversalOrder**: boolean specifying whether the order of element traversal must match the memory layout order of an input ndarray. Default: `false`.
74
+
-**strictTraversalOrder**: boolean specifying whether the order of element traversal must match the memory layout order of an output ndarray. Default: `false`.
0 commit comments