diff --git a/CHANGELOG.md b/CHANGELOG.md index db943269..68b764b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-07-26) +## Unreleased (2024-07-27)
@@ -804,6 +804,7 @@ A total of 4 people contributed to this release. Thank you to the following cont
+- [`7ee91a5`](https://github.com/stdlib-js/stdlib/commit/7ee91a531462ec823da632c6ae8ff65a8d16549e) - **docs:** update namespace table of contents [(#2674)](https://github.com/stdlib-js/stdlib/pull/2674) _(by stdlib-bot, Athan Reines)_ - [`d31e751`](https://github.com/stdlib-js/stdlib/commit/d31e7515b71dc5b76751173c7724d73d943b1473) - **feat:** add `forEach` to namespace _(by Athan Reines)_ - [`147a189`](https://github.com/stdlib-js/stdlib/commit/147a1897cc5ec7c05a97f8b4d4526ed6e6f224c1) - **docs:** reorder notes _(by Athan Reines)_ - [`e3fe1fa`](https://github.com/stdlib-js/stdlib/commit/e3fe1fad242ff60466807239c3d156c302885104) - **feat:** add `ndarray/base/for-each` _(by Athan Reines)_ diff --git a/base/README.md b/base/README.md index 09fd5965..5c97df81 100644 --- a/base/README.md +++ b/base/README.md @@ -76,6 +76,7 @@ var o = ns; - [`flags( x, copy )`][@stdlib/ndarray/base/flags]: return the flags of a provided ndarray. - [`fliplr( x, writable )`][@stdlib/ndarray/base/fliplr]: return a view of an input ndarray in which the order of elements along the last dimension is reversed. - [`flipud( x, writable )`][@stdlib/ndarray/base/flipud]: return a view of an input ndarray in which the order of elements along the second-to-last dimension is reversed. +- [`forEach( arrays, fcn[, thisArg] )`][@stdlib/ndarray/base/for-each]: invoke a callback function once for each ndarray element. - [`scalar2ndarray( value, dtype, order )`][@stdlib/ndarray/base/from-scalar]: convert a scalar value to a zero-dimensional ndarray. - [`ind( idx, max, mode )`][@stdlib/ndarray/base/ind]: return an index given an index mode. - [`ind2sub( shape, strides, offset, order, idx, mode )`][@stdlib/ndarray/base/ind2sub]: convert a linear index to an array of subscripts. @@ -255,6 +256,8 @@ console.log( objectKeys( ns ) ); [@stdlib/ndarray/base/flipud]: https://github.com/stdlib-js/ndarray/tree/main/base/flipud +[@stdlib/ndarray/base/for-each]: https://github.com/stdlib-js/ndarray/tree/main/base/for-each + [@stdlib/ndarray/base/from-scalar]: https://github.com/stdlib-js/ndarray/tree/main/base/from-scalar [@stdlib/ndarray/base/ind]: https://github.com/stdlib-js/ndarray/tree/main/base/ind