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
-[`6a3b3d7`](https://github.com/stdlib-js/stdlib/commit/6a3b3d731ca697a62e3d58900e1b6cb06e7667dd) - **chore:** update directories meta data _(by Athan Reines)_
1038
1040
-[`ba0c5d0`](https://github.com/stdlib-js/stdlib/commit/ba0c5d0a00c8f2b5eff6321b14dd62398be26be8) - **feat:** add `ndarraylike2ndarray` to namespace _(by Athan Reines)_
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
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">[`maybeBroadcastArrays( arrays )`][@stdlib/ndarray/maybe-broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
126
126
- <spanclass="signature">[`minDataType( value )`][@stdlib/ndarray/min-dtype]</span><spanclass="delimiter">: </span><spanclass="description">determine the minimum ndarray data type of the closest "kind" necessary for storing a provided scalar value.</span>
127
127
- <spanclass="signature">[`mostlySafeCasts( [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>
128
+
- <spanclass="signature">[`ndarraylike2ndarray( x[, options] )`][@stdlib/ndarray/ndarraylike2ndarray]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray-like object to an `ndarray`.</span>
128
129
- <spanclass="signature">[`ndims( x )`][@stdlib/ndarray/ndims]</span><spanclass="delimiter">: </span><spanclass="description">return the number of ndarray dimensions.</span>
129
130
- <spanclass="signature">[`nextDataType( [dtype] )`][@stdlib/ndarray/next-dtype]</span><spanclass="delimiter">: </span><spanclass="description">return the next larger ndarray data type of the same kind.</span>
130
131
- <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>
Copy file name to clipboardExpand all lines: base/README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ var o = ns;
87
87
- <spanclass="signature">[`metaDataProps( meta, dtypes, obj )`][@stdlib/ndarray/base/meta-data-props]</span><spanclass="delimiter">: </span><spanclass="description">define non-enumerable read-only properties which expose ndarray function meta data.</span>
88
88
- <spanclass="signature">[`minViewBufferIndex( shape, strides, offset )`][@stdlib/ndarray/base/min-view-buffer-index]</span><spanclass="delimiter">: </span><spanclass="description">compute the minimum linear index in an underlying data buffer accessible to an array view.</span>
89
89
- <spanclass="signature">[`minmaxViewBufferIndex( shape, strides, offset )`][@stdlib/ndarray/base/minmax-view-buffer-index]</span><spanclass="delimiter">: </span><spanclass="description">compute the minimum and maximum linear indices in an underlying data buffer which are accessible to an array view.</span>
90
+
- <spanclass="signature">[`ndarraylike2ndarray( x )`][@stdlib/ndarray/base/ndarraylike2ndarray]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray-like object to an `ndarray`.</span>
90
91
- <spanclass="signature">[`ndarraylike2object( x )`][@stdlib/ndarray/base/ndarraylike2object]</span><spanclass="delimiter">: </span><spanclass="description">convert an `ndarray`-like object to an object likely to have the same "shape".</span>
91
92
- <spanclass="signature">[`ndims( x )`][@stdlib/ndarray/base/ndims]</span><spanclass="delimiter">: </span><spanclass="description">return the number of ndarray dimensions.</span>
92
93
- <spanclass="signature">[`nextCartesianIndex( shape, order, idx, dim )`][@stdlib/ndarray/base/next-cartesian-index]</span><spanclass="delimiter">: </span><spanclass="description">return the next Cartesian index (i.e., set of subscripts/dimension indices).</span>
Copy file name to clipboardExpand all lines: iter/README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,14 @@ var o = ns;
47
47
- <spanclass="signature">[`nditerColumns( x[, options] )`][@stdlib/ndarray/iter/columns]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each column in a matrix (or stack of matrices).</span>
48
48
- <spanclass="signature">[`nditerEntries( x[, options] )`][@stdlib/ndarray/iter/entries]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which returns `[index, value]` pairs for each element in a provided `ndarray`.</span>
49
49
- <spanclass="signature">[`nditerIndices( shape[, options] )`][@stdlib/ndarray/iter/indices]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which returns indices for use indexing into an `ndarray` having a specified shape.</span>
50
+
- <spanclass="signature">[`nditerInterleaveSubarrays( arr, ndims )`][@stdlib/ndarray/iter/interleave-subarrays]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over interleaved subarrays.</span>
50
51
- <spanclass="signature">[`nditerMatrices( x[, options] )`][@stdlib/ndarray/iter/matrices]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each matrix in a stack of matrices.</span>
51
52
- <spanclass="signature">[`nditerMatrixEntries( x[, options] )`][@stdlib/ndarray/iter/matrix-entries]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which returns `[index, matrix]` pairs for each matrix in a stack of matrices.</span>
52
53
- <spanclass="signature">[`nditerRowEntries( x[, options] )`][@stdlib/ndarray/iter/row-entries]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which returns `[index, row]` pairs for each row in a matrix (or stack of matrices).</span>
53
54
- <spanclass="signature">[`nditerRows( x[, options] )`][@stdlib/ndarray/iter/rows]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each row in a matrix (or stack of matrices).</span>
55
+
- <spanclass="signature">[`nditerSelectDimension( x, dim[, options] )`][@stdlib/ndarray/iter/select-dimension]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each view along a specified dimension.</span>
56
+
- <spanclass="signature">[`nditerStacks( x, dims[, options] )`][@stdlib/ndarray/iter/stacks]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each subarray in a stack of subarrays according to a list of specified stack dimensions.</span>
57
+
- <spanclass="signature">[`nditerSubarrays( x, ndims[, options] )`][@stdlib/ndarray/iter/subarrays]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which iterates over each subarray in a stack of subarrays.</span>
54
58
- <spanclass="signature">[`nditer2arrayEach( iterator )`][@stdlib/ndarray/iter/to-array-each]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which converts each iterated `ndarray` to a generic array.</span>
55
59
- <spanclass="signature">[`nditerValues( x[, options] )`][@stdlib/ndarray/iter/values]</span><spanclass="delimiter">: </span><spanclass="description">create an iterator which returns individual elements from a provided `ndarray`.</span>
0 commit comments