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: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
<sectionclass="release"id="unreleased">
6
6
7
-
## Unreleased (2025-11-12)
7
+
## Unreleased (2025-11-13)
8
8
9
9
<sectionclass="features">
10
10
@@ -638,6 +638,7 @@ A total of 32 issues were closed in this release:
638
638
639
639
<details>
640
640
641
+
-[`c934b79`](https://github.com/stdlib-js/stdlib/commit/c934b79b7fef69aa707c58f8042648e3c7aa5925) - **docs:** update namespace table of contents [(#8517)](https://github.com/stdlib-js/stdlib/pull/8517)_(by stdlib-bot)_
641
642
-[`037800a`](https://github.com/stdlib-js/stdlib/commit/037800a4294184df000d19e2ded62351016dce42) - **test:** use assertion utility and update example _(by Athan Reines)_
642
643
-[`6d0ad29`](https://github.com/stdlib-js/stdlib/commit/6d0ad290fdb48864de0c09c5dd55c9eff7a22586) - **test:** use assertion utility and update example _(by Athan Reines)_
643
644
-[`e091542`](https://github.com/stdlib-js/stdlib/commit/e091542b1f458f3dfb68bdae82314930575404c7) - **docs:** update example _(by Athan Reines)_
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,10 +104,14 @@ In addition, the namespace contains the following multidimensional array utility
104
104
105
105
<divclass="namespace-toc">
106
106
107
+
- <spanclass="signature">[`anyBy( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/any-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least one element along one or more `ndarray` dimensions passes a test implemented by a predicate function.</span>
108
+
- <spanclass="signature">[`any( x[, options] )`][@stdlib/ndarray/any]</span><spanclass="delimiter">: </span><spanclass="description">test whether at least one element along one or more `ndarray` dimensions is truthy.</span>
107
109
- <spanclass="signature">[`at( x[, ...indices] )`][@stdlib/ndarray/at]</span><spanclass="delimiter">: </span><spanclass="description">return an `ndarray` element.</span>
108
110
- <spanclass="signature">[`broadcastArray( x, shape )`][@stdlib/ndarray/broadcast-array]</span><spanclass="delimiter">: </span><spanclass="description">broadcast an ndarray to a specified shape.</span>
109
111
- <spanclass="signature">[`broadcastArrays( ...arrays )`][@stdlib/ndarray/broadcast-arrays]</span><spanclass="delimiter">: </span><spanclass="description">broadcast ndarrays to a common shape.</span>
110
112
- <spanclass="signature">[`castingModes()`][@stdlib/ndarray/casting-modes]</span><spanclass="delimiter">: </span><spanclass="description">list of ndarray casting modes.</span>
113
+
- <spanclass="signature">[`concat( arrays[, dim] )`][@stdlib/ndarray/concat]</span><spanclass="delimiter">: </span><spanclass="description">concatenate a list of ndarrays along a specified ndarray dimension.</span>
114
+
- <spanclass="signature">[`copy( x[, options] )`][@stdlib/ndarray/copy]</span><spanclass="delimiter">: </span><spanclass="description">copy an input ndarray to a new ndarray having the same shape and data type.</span>
111
115
- <spanclass="signature">[`countFalsy( x[, options] )`][@stdlib/ndarray/count-falsy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of falsy elements along one or more `ndarray` dimensions.</span>
112
116
- <spanclass="signature">[`countIf( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/count-if]</span><spanclass="delimiter">: </span><spanclass="description">count the number of truthy elements along one or more `ndarray` dimensions.</span>
113
117
- <spanclass="signature">[`countTruthy( x[, options] )`][@stdlib/ndarray/count-truthy]</span><spanclass="delimiter">: </span><spanclass="description">count the number of truthy elements along one or more `ndarray` dimensions.</span>
@@ -126,9 +130,11 @@ In addition, the namespace contains the following multidimensional array utility
126
130
- <spanclass="signature">[`fill( x, value )`][@stdlib/ndarray/fill]</span><spanclass="delimiter">: </span><spanclass="description">fill an input `ndarray` with a specified value.</span>
127
131
- <spanclass="signature">[`filterMap( x[, options], fcn[, thisArg] )`][@stdlib/ndarray/filter-map]</span><spanclass="delimiter">: </span><spanclass="description">filter and map elements in an input ndarray to elements in a new output ndarray according to a callback function.</span>
128
132
- <spanclass="signature">[`filter( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/filter]</span><spanclass="delimiter">: </span><spanclass="description">return a shallow copy of an ndarray containing only those elements which pass a test implemented by a predicate function.</span>
133
+
- <spanclass="signature">[`find( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/find]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray containing the first elements which pass a test implemented by a predicate function along one or more ndarray dimensions.</span>
129
134
- <spanclass="signature">[`flag( x, name )`][@stdlib/ndarray/flag]</span><spanclass="delimiter">: </span><spanclass="description">return a specified flag for a provided ndarray.</span>
130
135
- <spanclass="signature">[`flags( x )`][@stdlib/ndarray/flags]</span><spanclass="delimiter">: </span><spanclass="description">return the flags of a provided ndarray.</span>
131
136
- <spanclass="signature">[`flattenBy( x[, options], fcn[, thisArg] )`][@stdlib/ndarray/flatten-by]</span><spanclass="delimiter">: </span><spanclass="description">flatten an ndarray according to a callback function.</span>
137
+
- <spanclass="signature">[`flattenFrom( x, dim[, options] )`][@stdlib/ndarray/flatten-from]</span><spanclass="delimiter">: </span><spanclass="description">return a copy of an input ndarray where all dimensions of the input ndarray are flattened starting from a specified dimension.</span>
132
138
- <spanclass="signature">[`flatten( x[, options] )`][@stdlib/ndarray/flatten]</span><spanclass="delimiter">: </span><spanclass="description">return a flattened copy of an input ndarray.</span>
133
139
- <spanclass="signature">[`forEach( x, fcn[, thisArg] )`][@stdlib/ndarray/for-each]</span><spanclass="delimiter">: </span><spanclass="description">invoke a callback function once for each ndarray element.</span>
134
140
- <spanclass="signature">[`scalar2ndarray( value[, options] )`][@stdlib/ndarray/from-scalar]</span><spanclass="delimiter">: </span><spanclass="description">convert a scalar value to a zero-dimensional ndarray.</span>
@@ -151,11 +157,15 @@ In addition, the namespace contains the following multidimensional array utility
151
157
- <spanclass="signature">[`order( x )`][@stdlib/ndarray/order]</span><spanclass="delimiter">: </span><spanclass="description">return the layout order of a provided ndarray.</span>
152
158
- <spanclass="signature">[`orders()`][@stdlib/ndarray/orders]</span><spanclass="delimiter">: </span><spanclass="description">list of ndarray orders.</span>
153
159
- <spanclass="signature">[`outputDataTypePolicies()`][@stdlib/ndarray/output-dtype-policies]</span><spanclass="delimiter">: </span><spanclass="description">list of output ndarray data type policies.</span>
160
+
- <spanclass="signature">[`pop( x[, options] )`][@stdlib/ndarray/pop]</span><spanclass="delimiter">: </span><spanclass="description">return an array containing a read-only truncated view of an input `ndarray` and a read-only view of the last element(s) along a specified dimension.</span>
154
161
- <spanclass="signature">[`promotionRules( [dtype1, dtype2] )`][@stdlib/ndarray/promotion-rules]</span><spanclass="delimiter">: </span><spanclass="description">return the ndarray data type with the smallest size and closest "kind" to which ndarray data types can be **safely** cast.</span>
155
162
- <spanclass="signature">[`reject( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/reject]</span><spanclass="delimiter">: </span><spanclass="description">return a shallow copy of an ndarray containing only those elements which fail a test implemented by a predicate function.</span>
163
+
- <spanclass="signature">[`reverseDimension( x, dim )`][@stdlib/ndarray/reverse-dimension]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input `ndarray` in which the order of elements along a specified dimension is reversed.</span>
164
+
- <spanclass="signature">[`reverse( x )`][@stdlib/ndarray/reverse]</span><spanclass="delimiter">: </span><spanclass="description">return a **read-only** view of an input `ndarray` in which the order of elements along each dimension is reversed.</span>
156
165
- <spanclass="signature">[`safeCasts( [dtype] )`][@stdlib/ndarray/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.</span>
157
166
- <spanclass="signature">[`sameKindCasts( [dtype] )`][@stdlib/ndarray/same-kind-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 or cast within the same "kind".</span>
158
167
- <spanclass="signature">[`shape( x )`][@stdlib/ndarray/shape]</span><spanclass="delimiter">: </span><spanclass="description">return the shape of a provided ndarray.</span>
168
+
- <spanclass="signature">[`shift( x[, options] )`][@stdlib/ndarray/shift]</span><spanclass="delimiter">: </span><spanclass="description">return an array containing a read-only truncated view of an input `ndarray` and a read-only view of the first element(s) along a specified dimension.</span>
159
169
- <spanclass="signature">[`sliceAssign( x, y, ...s[, options] )`][@stdlib/ndarray/slice-assign]</span><spanclass="delimiter">: </span><spanclass="description">assign element values from a broadcasted input `ndarray` to corresponding elements in an output `ndarray` view.</span>
160
170
- <spanclass="signature">[`sliceDimensionFrom( x, dim, start[, options] )`][@stdlib/ndarray/slice-dimension-from]</span><spanclass="delimiter">: </span><spanclass="description">return a read-only shifted view of an input `ndarray` along a specified dimension.</span>
161
171
- <spanclass="signature">[`sliceDimensionTo( x, dim, stop[, options] )`][@stdlib/ndarray/slice-dimension-to]</span><spanclass="delimiter">: </span><spanclass="description">return a read-only truncated view of an input `ndarray` along a specified dimension.</span>
@@ -170,6 +180,7 @@ In addition, the namespace contains the following multidimensional array utility
170
180
- <spanclass="signature">[`ndarray2array( x )`][@stdlib/ndarray/to-array]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray to a generic array.</span>
171
181
- <spanclass="signature">[`ndarray2fancy( x[, options] )`][@stdlib/ndarray/to-fancy]</span><spanclass="delimiter">: </span><spanclass="description">convert an ndarray to an object supporting fancy indexing.</span>
172
182
- <spanclass="signature">[`ndarray2json( x )`][@stdlib/ndarray/to-json]</span><spanclass="delimiter">: </span><spanclass="description">serialize an ndarray as a JSON object.</span>
183
+
- <spanclass="signature">[`toReversed( x )`][@stdlib/ndarray/to-reversed]</span><spanclass="delimiter">: </span><spanclass="description">return a new `ndarray` where the order of elements of an input `ndarray` is reversed along each dimension.</span>
173
184
- <spanclass="signature">[`vector`][@stdlib/ndarray/vector]</span><spanclass="delimiter">: </span><spanclass="description">vector constructors and associated utilities.</span>
174
185
- <spanclass="signature">[`with( x, indices, value )`][@stdlib/ndarray/with]</span><spanclass="delimiter">: </span><spanclass="description">return a new ndarray with the element at a specified index replaced by a provided value.</span>
175
186
- <spanclass="signature">[`zerosLike( x[, options] )`][@stdlib/ndarray/zeros-like]</span><spanclass="delimiter">: </span><spanclass="description">create a zero-filled ndarray having the same shape and data type as a provided ndarray.</span>
0 commit comments