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: README.md
+3
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,7 @@ In addition, the namespace contains the following multidimensional array utility
125
125
- <spanclass="signature">[`ndarrayMostlySafeCasts( [dtype] )`][@stdlib/ndarray/mostly-safe-casts]</span><spanclass="delimiter">: </span><spanclass="description">return a list of ndarray data types to which a provided ndarray data type can be safely cast and, for floating-point data types, can be downcast.</span>
126
126
- <spanclass="signature">[`ndims( x )`][@stdlib/ndarray/ndims]</span><spanclass="delimiter">: </span><spanclass="description">return the number of ndarray dimensions.</span>
127
127
- <spanclass="signature">[`ndarrayNextDataType( [dtype] )`][@stdlib/ndarray/next-dtype]</span><spanclass="delimiter">: </span><spanclass="description">return the next larger ndarray data type of the same kind.</span>
128
+
- <spanclass="signature">[`numelDimension( x, dim )`][@stdlib/ndarray/numel-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return the size (i.e., number of elements) of a specified dimension for a provided ndarray.</span>
128
129
- <spanclass="signature">[`numel( x )`][@stdlib/ndarray/numel]</span><spanclass="delimiter">: </span><spanclass="description">return the number of elements in an ndarray.</span>
129
130
- <spanclass="signature">[`ndarrayOffset( x )`][@stdlib/ndarray/offset]</span><spanclass="delimiter">: </span><spanclass="description">return the index offset specifying the underlying buffer index of the first iterated ndarray element.</span>
130
131
- <spanclass="signature">[`ndarrayOrder( x )`][@stdlib/ndarray/order]</span><spanclass="delimiter">: </span><spanclass="description">return the layout order of a provided ndarray.</span>
Copy file name to clipboardExpand all lines: base/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ var o = ns;
94
94
- <spanclass="signature">[`nullaryLoopOrder( shape, stridesX )`][@stdlib/ndarray/base/nullary-loop-interchange-order]</span><spanclass="delimiter">: </span><spanclass="description">reorder ndarray dimensions and associated strides for loop interchange.</span>
95
95
- <spanclass="signature">[`nullaryBlockSize( dtypeX )`][@stdlib/ndarray/base/nullary-tiling-block-size]</span><spanclass="delimiter">: </span><spanclass="description">resolve a loop block size for multi-dimensional array tiled loops.</span>
96
96
- <spanclass="signature">[`nullary( arrays, fcn )`][@stdlib/ndarray/base/nullary]</span><spanclass="delimiter">: </span><spanclass="description">apply a nullary callback and assign results to elements in an output ndarray.</span>
97
+
- <spanclass="signature">[`numelDimension( x, dim )`][@stdlib/ndarray/base/numel-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return the size (i.e., number of elements) of a specified dimension for a provided ndarray.</span>
97
98
- <spanclass="signature">[`numel( shape )`][@stdlib/ndarray/base/numel]</span><spanclass="delimiter">: </span><spanclass="description">return the number of elements in an array.</span>
98
99
- <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>
99
100
- <spanclass="signature">[`order( x )`][@stdlib/ndarray/base/order]</span><spanclass="delimiter">: </span><spanclass="description">return the layout order of a provided ndarray.</span>
0 commit comments