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: lib/node_modules/@stdlib/ndarray/base/README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,11 +112,13 @@ var o = ns;
112
112
- <spanclass="signature">[`numel( shape )`][@stdlib/ndarray/base/numel]</span><spanclass="delimiter">: </span><spanclass="description">return the number of elements in an array.</span>
113
113
- <spanclass="signature">[`offset( x )`][@stdlib/ndarray/base/offset]</span><spanclass="delimiter">: </span><spanclass="description">return the index offset specifying the underlying buffer index of the first iterated ndarray element.</span>
114
114
- <spanclass="signature">[`order( x )`][@stdlib/ndarray/base/order]</span><spanclass="delimiter">: </span><spanclass="description">return the layout order of a provided ndarray.</span>
115
+
- <spanclass="signature">[`outputDataType( dtypes, policy )`][@stdlib/ndarray/base/output-dtype]</span><spanclass="delimiter">: </span><spanclass="description">resolve the output ndarray data type from a list of input ndarray data types.</span>
115
116
- <spanclass="signature">[`outputPolicyEnum2Str( policy )`][@stdlib/ndarray/base/output-policy-enum2str]</span><spanclass="delimiter">: </span><spanclass="description">return the policy string associated with an output ndarray data type policy enumeration constant.</span>
116
117
- <spanclass="signature">[`outputPolicyResolveEnum( policy )`][@stdlib/ndarray/base/output-policy-resolve-enum]</span><spanclass="delimiter">: </span><spanclass="description">return the enumeration constant associated with a supported ndarray data type policy value.</span>
117
118
- <spanclass="signature">[`outputPolicyResolveStr( dtype )`][@stdlib/ndarray/base/output-policy-resolve-str]</span><spanclass="delimiter">: </span><spanclass="description">return the policy string associated with a supported ndarray data type policy value.</span>
118
119
- <spanclass="signature">[`outputPolicyStr2Enum( policy )`][@stdlib/ndarray/base/output-policy-str2enum]</span><spanclass="delimiter">: </span><spanclass="description">return the enumeration constant associated with an output ndarray data type policy string.</span>
119
120
- <spanclass="signature">[`prependSingletonDimensions( x, n )`][@stdlib/ndarray/base/prepend-singleton-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">prepend singleton dimensions.</span>
121
+
- <spanclass="signature">[`promoteDataTypes( dtypes )`][@stdlib/ndarray/base/promote-dtypes]</span><spanclass="delimiter">: </span><spanclass="description">resolve the data type that results from applying promotion rules to a provided list of data types.</span>
120
122
- <spanclass="signature">[`removeSingletonDimensions( x )`][@stdlib/ndarray/base/remove-singleton-dimensions]</span><spanclass="delimiter">: </span><spanclass="description">remove singleton dimensions.</span>
121
123
- <spanclass="signature">[`reverseDimension( x, dim, writable )`][@stdlib/ndarray/base/reverse-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return a view of an input ndarray in which the order of elements along a specified dimension is reversed.</span>
122
124
- <spanclass="signature">[`reverse( x, writable )`][@stdlib/ndarray/base/reverse]</span><spanclass="delimiter">: </span><spanclass="description">return a view of an input ndarray in which the order of elements along each dimension is reversed.</span>
0 commit comments