From a244f2bdcd111132c4dbe83c68e1eb2ec7b8c2d4 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 19 Dec 2023 20:39:52 +0000 Subject: [PATCH] Auto-generated commit --- base/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/README.md b/base/README.md index 1ee7dda7..e3a40365 100644 --- a/base/README.md +++ b/base/README.md @@ -104,6 +104,8 @@ The namespace exports the following: - [`strided2array( N, x, stride, offset )`][@stdlib/array/base/from-strided]: convert a strided array to a non-strided generic array. - [`getter( dtype )`][@stdlib/array/base/getter]: return an accessor function for retrieving an element from an indexed array-like object. - [`incrspace( start, stop, increment )`][@stdlib/array/base/incrspace]: generate a linearly spaced numeric array according to a provided increment. +- [`indexOf( x, searchElement, fromIndex, equalNaNs )`][@stdlib/array/base/index-of]: return the index of the first element which equals a provided search element. +- [`lastIndexOf( x, searchElement, fromIndex, equalNaNs )`][@stdlib/array/base/last-index-of]: return the index of the last element which equals a provided search element. - [`last( x )`][@stdlib/array/base/last]: return the last element of an array-like object. - [`linspace( start, stop, length )`][@stdlib/array/base/linspace]: generate a linearly spaced numeric array. - [`logspace( a, b, length )`][@stdlib/array/base/logspace]: generate a logarithmically spaced numeric array. @@ -317,6 +319,10 @@ console.log( objectKeys( ns ) ); [@stdlib/array/base/incrspace]: https://github.com/stdlib-js/array/tree/main/base/incrspace +[@stdlib/array/base/index-of]: https://github.com/stdlib-js/array/tree/main/base/index-of + +[@stdlib/array/base/last-index-of]: https://github.com/stdlib-js/array/tree/main/base/last-index-of + [@stdlib/array/base/last]: https://github.com/stdlib-js/array/tree/main/base/last [@stdlib/array/base/linspace]: https://github.com/stdlib-js/array/tree/main/base/linspace