Skip to content

Commit c0c1fbb

Browse files
committed
Auto-generated commit
1 parent 1603708 commit c0c1fbb

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ A total of 44 issues were closed in this release:
774774

775775
<details>
776776

777+
- [`2cc758b`](https://github.com/stdlib-js/stdlib/commit/2cc758b7e8b6e3a713cadbabd6d13ad635cb2fcd) - **docs:** update namespace table of contents [(#10561)](https://github.com/stdlib-js/stdlib/pull/10561) _(by stdlib-bot)_
777778
- [`f7bad8d`](https://github.com/stdlib-js/stdlib/commit/f7bad8d512bc207e4e25ed18a15b43a6e98540aa) - **test:** update test _(by Athan Reines)_
778779
- [`663e715`](https://github.com/stdlib-js/stdlib/commit/663e715df67c0008b1d807e55a4555e54bf8d5ef) - **test:** update test _(by Athan Reines)_
779780
- [`93406df`](https://github.com/stdlib-js/stdlib/commit/93406df6ffbb6494062605352b7df9c05694c81d) - **test:** add missing tests _(by Athan Reines)_

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@ In addition, the namespace contains the following multidimensional array utility
109109
- <span class="signature">[`at( x[, ...indices] )`][@stdlib/ndarray/at]</span><span class="delimiter">: </span><span class="description">return an `ndarray` element.</span>
110110
- <span class="signature">[`broadcastArray( x, shape )`][@stdlib/ndarray/broadcast-array]</span><span class="delimiter">: </span><span class="description">broadcast an ndarray to a specified shape.</span>
111111
- <span class="signature">[`broadcastArrays( ...arrays )`][@stdlib/ndarray/broadcast-arrays]</span><span class="delimiter">: </span><span class="description">broadcast ndarrays to a common shape.</span>
112+
- <span class="signature">[`broadcastScalar( value, shape[, options] )`][@stdlib/ndarray/broadcast-scalar]</span><span class="delimiter">: </span><span class="description">broadcast a scalar value to an ndarray of a specified shape.</span>
112113
- <span class="signature">[`castingModes()`][@stdlib/ndarray/casting-modes]</span><span class="delimiter">: </span><span class="description">list of ndarray casting modes.</span>
113114
- <span class="signature">[`concat( arrays[, options] )`][@stdlib/ndarray/concat]</span><span class="delimiter">: </span><span class="description">concatenate a list of ndarrays along a specified ndarray dimension.</span>
115+
- <span class="signature">[`concat1d( ...arrays )`][@stdlib/ndarray/concat1d]</span><span class="delimiter">: </span><span class="description">return a one-dimensional ndarray formed by concatenating provided input arguments.</span>
114116
- <span class="signature">[`copy( x[, options] )`][@stdlib/ndarray/copy]</span><span class="delimiter">: </span><span class="description">copy an input ndarray to a new ndarray having the same shape and data type.</span>
115117
- <span class="signature">[`countFalsy( x[, options] )`][@stdlib/ndarray/count-falsy]</span><span class="delimiter">: </span><span class="description">count the number of falsy elements along one or more `ndarray` dimensions.</span>
116118
- <span class="signature">[`countIf( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/count-if]</span><span class="delimiter">: </span><span class="description">count the number of truthy elements along one or more `ndarray` dimensions.</span>
@@ -130,13 +132,18 @@ In addition, the namespace contains the following multidimensional array utility
130132
- <span class="signature">[`fill( x, value )`][@stdlib/ndarray/fill]</span><span class="delimiter">: </span><span class="description">fill an input `ndarray` with a specified value.</span>
131133
- <span class="signature">[`filterMap( x[, options], fcn[, thisArg] )`][@stdlib/ndarray/filter-map]</span><span class="delimiter">: </span><span class="description">filter and map elements in an input ndarray to elements in a new output ndarray according to a callback function.</span>
132134
- <span class="signature">[`filter( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/filter]</span><span class="delimiter">: </span><span class="description">return a shallow copy of an ndarray containing only those elements which pass a test implemented by a predicate function.</span>
135+
- <span class="signature">[`findLast( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/find-last]</span><span class="delimiter">: </span><span class="description">return a new ndarray containing the last elements which pass a test implemented by a predicate function along one or more ndarray dimensions.</span>
133136
- <span class="signature">[`find( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/find]</span><span class="delimiter">: </span><span class="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>
134137
- <span class="signature">[`flag( x, name )`][@stdlib/ndarray/flag]</span><span class="delimiter">: </span><span class="description">return a specified flag for a provided ndarray.</span>
135138
- <span class="signature">[`flags( x )`][@stdlib/ndarray/flags]</span><span class="delimiter">: </span><span class="description">return the flags of a provided ndarray.</span>
136139
- <span class="signature">[`flattenBy( x[, options], fcn[, thisArg] )`][@stdlib/ndarray/flatten-by]</span><span class="delimiter">: </span><span class="description">flatten an ndarray according to a callback function.</span>
140+
- <span class="signature">[`flattenFromBy( x, dim[, options], fcn[, thisArg] )`][@stdlib/ndarray/flatten-from-by]</span><span class="delimiter">: </span><span class="description">flatten an ndarray according to a callback function starting from a specified dimension.</span>
137141
- <span class="signature">[`flattenFrom( x, dim[, options] )`][@stdlib/ndarray/flatten-from]</span><span class="delimiter">: </span><span class="description">return a copy of an input ndarray where all dimensions of the input ndarray are flattened starting from a specified dimension.</span>
138142
- <span class="signature">[`flatten( x[, options] )`][@stdlib/ndarray/flatten]</span><span class="delimiter">: </span><span class="description">return a flattened copy of an input ndarray.</span>
143+
- <span class="signature">[`fliplr( x )`][@stdlib/ndarray/fliplr]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input `ndarray` in which the order of elements along the last dimension is reversed.</span>
144+
- <span class="signature">[`flipud( x )`][@stdlib/ndarray/flipud]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input `ndarray` in which the order of elements along the second-to-last dimension is reversed.</span>
139145
- <span class="signature">[`forEach( x, fcn[, thisArg] )`][@stdlib/ndarray/for-each]</span><span class="delimiter">: </span><span class="description">invoke a callback function once for each ndarray element.</span>
146+
- <span class="signature">[`scalar2ndarrayLike( x, value[, options] )`][@stdlib/ndarray/from-scalar-like]</span><span class="delimiter">: </span><span class="description">convert a scalar value to a zero-dimensional ndarray having the same data-type as a provided ndarray.</span>
140147
- <span class="signature">[`scalar2ndarray( value[, options] )`][@stdlib/ndarray/from-scalar]</span><span class="delimiter">: </span><span class="description">convert a scalar value to a zero-dimensional ndarray.</span>
141148
- <span class="signature">[`includes( x, searchElement[, options] )`][@stdlib/ndarray/includes]</span><span class="delimiter">: </span><span class="description">test whether an `ndarray` contains a specified value along one or more dimensions.</span>
142149
- <span class="signature">[`ind2sub( shape, idx[, options] )`][@stdlib/ndarray/ind2sub]</span><span class="delimiter">: </span><span class="description">convert a linear index to an array of subscripts.</span>
@@ -158,7 +165,9 @@ In addition, the namespace contains the following multidimensional array utility
158165
- <span class="signature">[`orders()`][@stdlib/ndarray/orders]</span><span class="delimiter">: </span><span class="description">list of ndarray orders.</span>
159166
- <span class="signature">[`outputDataTypePolicies()`][@stdlib/ndarray/output-dtype-policies]</span><span class="delimiter">: </span><span class="description">list of output ndarray data type policies.</span>
160167
- <span class="signature">[`pop( x[, options] )`][@stdlib/ndarray/pop]</span><span class="delimiter">: </span><span class="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>
168+
- <span class="signature">[`prependSingletonDimensions( x, n )`][@stdlib/ndarray/prepend-singleton-dimensions]</span><span class="delimiter">: </span><span class="description">return a read-only view of an input ndarray with a specified number of prepended singleton dimensions.</span>
161169
- <span class="signature">[`promotionRules( [dtype1, dtype2] )`][@stdlib/ndarray/promotion-rules]</span><span class="delimiter">: </span><span class="description">return the ndarray data type with the smallest size and closest "kind" to which ndarray data types can be **safely** cast.</span>
170+
- <span class="signature">[`push( x, ...values )`][@stdlib/ndarray/push]</span><span class="delimiter">: </span><span class="description">return a one-dimensional ndarray formed by appending provided scalar values to a one-dimensional input ndarray.</span>
162171
- <span class="signature">[`reject( x[, options], predicate[, thisArg] )`][@stdlib/ndarray/reject]</span><span class="delimiter">: </span><span class="description">return a shallow copy of an ndarray containing only those elements which fail a test implemented by a predicate function.</span>
163172
- <span class="signature">[`reverseDimension( x, dim )`][@stdlib/ndarray/reverse-dimension]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input `ndarray` in which the order of elements along a specified dimension is reversed.</span>
164173
- <span class="signature">[`reverse( x )`][@stdlib/ndarray/reverse]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input `ndarray` in which the order of elements along each dimension is reversed.</span>
@@ -174,13 +183,17 @@ In addition, the namespace contains the following multidimensional array utility
174183
- <span class="signature">[`sliceTo( x, ...stop[, options] )`][@stdlib/ndarray/slice-to]</span><span class="delimiter">: </span><span class="description">return a read-only truncated view of an input ndarray.</span>
175184
- <span class="signature">[`slice( x, ...s[, options] )`][@stdlib/ndarray/slice]</span><span class="delimiter">: </span><span class="description">return a read-only view of an input `ndarray`.</span>
176185
- <span class="signature">[`someBy( x, n[, options], predicate[, thisArg] )`][@stdlib/ndarray/some-by]</span><span class="delimiter">: </span><span class="description">test whether at least `n` elements along one or more `ndarray` dimensions pass a test implemented by a predicate function.</span>
186+
- <span class="signature">[`some( x, n[, options] )`][@stdlib/ndarray/some]</span><span class="delimiter">: </span><span class="description">test whether at least `n` elements along one or more `ndarray` dimensions are truthy.</span>
187+
- <span class="signature">[`spreadDimensions( ndims, x, dims )`][@stdlib/ndarray/spread-dimensions]</span><span class="delimiter">: </span><span class="description">return a read-only view of an input ndarray where the dimensions of the input ndarray are expanded to a specified dimensionality by spreading dimensions to specified dimension indices and inserting dimensions of size one for the remaining dimensions.</span>
177188
- <span class="signature">[`stride( x, dim )`][@stdlib/ndarray/stride]</span><span class="delimiter">: </span><span class="description">return the stride along a specified dimension for a provided ndarray.</span>
178189
- <span class="signature">[`strides( x )`][@stdlib/ndarray/strides]</span><span class="delimiter">: </span><span class="description">return the strides of a provided ndarray.</span>
179190
- <span class="signature">[`sub2ind( shape, ...subscripts[, options] )`][@stdlib/ndarray/sub2ind]</span><span class="delimiter">: </span><span class="description">convert subscripts to a linear index.</span>
180191
- <span class="signature">[`ndarray2array( x )`][@stdlib/ndarray/to-array]</span><span class="delimiter">: </span><span class="description">convert an ndarray to a generic array.</span>
181192
- <span class="signature">[`ndarray2fancy( x[, options] )`][@stdlib/ndarray/to-fancy]</span><span class="delimiter">: </span><span class="description">convert an ndarray to an object supporting fancy indexing.</span>
182193
- <span class="signature">[`ndarray2json( x )`][@stdlib/ndarray/to-json]</span><span class="delimiter">: </span><span class="description">serialize an ndarray as a JSON object.</span>
194+
- <span class="signature">[`toReversedDimension( x[, options] )`][@stdlib/ndarray/to-reversed-dimension]</span><span class="delimiter">: </span><span class="description">return a new ndarray where the order of elements of an input ndarray along a specified dimension is reversed.</span>
183195
- <span class="signature">[`toReversed( x )`][@stdlib/ndarray/to-reversed]</span><span class="delimiter">: </span><span class="description">return a new `ndarray` where the order of elements of an input `ndarray` is reversed along each dimension.</span>
196+
- <span class="signature">[`unshift( x, ...values )`][@stdlib/ndarray/unshift]</span><span class="delimiter">: </span><span class="description">return a one-dimensional ndarray formed by prepending provided scalar values to a one-dimensional input ndarray.</span>
184197
- <span class="signature">[`vector`][@stdlib/ndarray/vector]</span><span class="delimiter">: </span><span class="description">vector constructors and associated utilities.</span>
185198
- <span class="signature">[`ndarrayWith( x, indices, value )`][@stdlib/ndarray/with]</span><span class="delimiter">: </span><span class="description">return a new ndarray with the element at a specified index replaced by a provided value.</span>
186199
- <span class="signature">[`zerosLike( x[, options] )`][@stdlib/ndarray/zeros-like]</span><span class="delimiter">: </span><span class="description">create a zero-filled ndarray having the same shape and data type as a provided ndarray.</span>
@@ -305,10 +318,14 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
305318

306319
[@stdlib/ndarray/broadcast-arrays]: https://github.com/stdlib-js/ndarray/tree/main/broadcast-arrays
307320

321+
[@stdlib/ndarray/broadcast-scalar]: https://github.com/stdlib-js/ndarray/tree/main/broadcast-scalar
322+
308323
[@stdlib/ndarray/casting-modes]: https://github.com/stdlib-js/ndarray/tree/main/casting-modes
309324

310325
[@stdlib/ndarray/concat]: https://github.com/stdlib-js/ndarray/tree/main/concat
311326

327+
[@stdlib/ndarray/concat1d]: https://github.com/stdlib-js/ndarray/tree/main/concat1d
328+
312329
[@stdlib/ndarray/copy]: https://github.com/stdlib-js/ndarray/tree/main/copy
313330

314331
[@stdlib/ndarray/count-falsy]: https://github.com/stdlib-js/ndarray/tree/main/count-falsy
@@ -347,6 +364,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
347364

348365
[@stdlib/ndarray/filter]: https://github.com/stdlib-js/ndarray/tree/main/filter
349366

367+
[@stdlib/ndarray/find-last]: https://github.com/stdlib-js/ndarray/tree/main/find-last
368+
350369
[@stdlib/ndarray/find]: https://github.com/stdlib-js/ndarray/tree/main/find
351370

352371
[@stdlib/ndarray/flag]: https://github.com/stdlib-js/ndarray/tree/main/flag
@@ -355,12 +374,20 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
355374

356375
[@stdlib/ndarray/flatten-by]: https://github.com/stdlib-js/ndarray/tree/main/flatten-by
357376

377+
[@stdlib/ndarray/flatten-from-by]: https://github.com/stdlib-js/ndarray/tree/main/flatten-from-by
378+
358379
[@stdlib/ndarray/flatten-from]: https://github.com/stdlib-js/ndarray/tree/main/flatten-from
359380

360381
[@stdlib/ndarray/flatten]: https://github.com/stdlib-js/ndarray/tree/main/flatten
361382

383+
[@stdlib/ndarray/fliplr]: https://github.com/stdlib-js/ndarray/tree/main/fliplr
384+
385+
[@stdlib/ndarray/flipud]: https://github.com/stdlib-js/ndarray/tree/main/flipud
386+
362387
[@stdlib/ndarray/for-each]: https://github.com/stdlib-js/ndarray/tree/main/for-each
363388

389+
[@stdlib/ndarray/from-scalar-like]: https://github.com/stdlib-js/ndarray/tree/main/from-scalar-like
390+
364391
[@stdlib/ndarray/from-scalar]: https://github.com/stdlib-js/ndarray/tree/main/from-scalar
365392

366393
[@stdlib/ndarray/includes]: https://github.com/stdlib-js/ndarray/tree/main/includes
@@ -403,8 +430,12 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
403430

404431
[@stdlib/ndarray/pop]: https://github.com/stdlib-js/ndarray/tree/main/pop
405432

433+
[@stdlib/ndarray/prepend-singleton-dimensions]: https://github.com/stdlib-js/ndarray/tree/main/prepend-singleton-dimensions
434+
406435
[@stdlib/ndarray/promotion-rules]: https://github.com/stdlib-js/ndarray/tree/main/promotion-rules
407436

437+
[@stdlib/ndarray/push]: https://github.com/stdlib-js/ndarray/tree/main/push
438+
408439
[@stdlib/ndarray/reject]: https://github.com/stdlib-js/ndarray/tree/main/reject
409440

410441
[@stdlib/ndarray/reverse-dimension]: https://github.com/stdlib-js/ndarray/tree/main/reverse-dimension
@@ -435,6 +466,10 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
435466

436467
[@stdlib/ndarray/some-by]: https://github.com/stdlib-js/ndarray/tree/main/some-by
437468

469+
[@stdlib/ndarray/some]: https://github.com/stdlib-js/ndarray/tree/main/some
470+
471+
[@stdlib/ndarray/spread-dimensions]: https://github.com/stdlib-js/ndarray/tree/main/spread-dimensions
472+
438473
[@stdlib/ndarray/stride]: https://github.com/stdlib-js/ndarray/tree/main/stride
439474

440475
[@stdlib/ndarray/strides]: https://github.com/stdlib-js/ndarray/tree/main/strides
@@ -447,8 +482,12 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
447482

448483
[@stdlib/ndarray/to-json]: https://github.com/stdlib-js/ndarray/tree/main/to-json
449484

485+
[@stdlib/ndarray/to-reversed-dimension]: https://github.com/stdlib-js/ndarray/tree/main/to-reversed-dimension
486+
450487
[@stdlib/ndarray/to-reversed]: https://github.com/stdlib-js/ndarray/tree/main/to-reversed
451488

489+
[@stdlib/ndarray/unshift]: https://github.com/stdlib-js/ndarray/tree/main/unshift
490+
452491
[@stdlib/ndarray/vector]: https://github.com/stdlib-js/ndarray/tree/main/vector
453492

454493
[@stdlib/ndarray/with]: https://github.com/stdlib-js/ndarray/tree/main/with

0 commit comments

Comments
 (0)