Skip to content

Commit 41109cb

Browse files
committed
Auto-generated commit
1 parent 120ac87 commit 41109cb

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

CHANGELOG.md

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

895895
<details>
896896

897+
- [`7442c80`](https://github.com/stdlib-js/stdlib/commit/7442c80a194a19e0784a8093afb743146dd3a668) - **docs:** update namespace table of contents [(#11789)](https://github.com/stdlib-js/stdlib/pull/11789) _(by stdlib-bot, Philipp Burckhardt)_
897898
- [`ec583b8`](https://github.com/stdlib-js/stdlib/commit/ec583b81d55d0eadcfcb64c23f96966a4bc9224d) - **feat:** add `toRotl90` to namespace _(by Athan Reines)_
898899
- [`992523c`](https://github.com/stdlib-js/stdlib/commit/992523c21987f7c5134463a373caebcdc2212517) - **feat:** add `rotl90` to namespace _(by Athan Reines)_
899900
- [`bacb8fa`](https://github.com/stdlib-js/stdlib/commit/bacb8fab250b7b74d8867f103d28b6200bb64261) - **feat:** add `rot180` to namespace _(by Athan Reines)_

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ The namespace exports the following functions to manipulate multidimensional arr
132132
- <span class="signature">[`removeSingletonDimensions( x )`][@stdlib/ndarray/remove-singleton-dimensions]</span><span class="delimiter">: </span><span class="description">return a read-only view of an input ndarray with singleton dimensions removed.</span>
133133
- <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>
134134
- <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>
135+
- <span class="signature">[`rot90( x[, options] )`][@stdlib/ndarray/rot90]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input ndarray rotated `90` degrees in a specified plane.</span>
135136
- <span class="signature">[`rotr90( x, k )`][@stdlib/ndarray/rotr90]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of a matrix (or a stack of matrices) rotated `90` degrees clockwise.</span>
136137
- <span class="signature">[`rowcat( arrays )`][@stdlib/ndarray/rowcat]</span><span class="delimiter">: </span><span class="description">concatenate a list of one-dimensional or two-dimensional ndarrays as rows.</span>
137138
- <span class="signature">[`shift( x[, options] )`][@stdlib/ndarray/shift]</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 first element(s) along a specified dimension.</span>
@@ -295,6 +296,9 @@ The namespace contains the following multidimensional array utility functions:
295296
- <span class="signature">[`dispatch( fcns, types, data, nargs, nin, nout )`][@stdlib/ndarray/dispatch]</span><span class="delimiter">: </span><span class="description">create an ndarray function interface which performs multiple dispatch.</span>
296297
- <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>
297298
- <span class="signature">[`orders()`][@stdlib/ndarray/orders]</span><span class="delimiter">: </span><span class="description">list of ndarray orders.</span>
299+
- <span class="signature">[`rot180( x[, options] )`][@stdlib/ndarray/rot180]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input ndarray rotated `180` degrees in a specified plane.</span>
300+
- <span class="signature">[`rotl90( x, k )`][@stdlib/ndarray/rotl90]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of a matrix (or a stack of matrices) rotated `90` degrees counterclockwise.</span>
301+
- <span class="signature">[`toRotr90( x, k )`][@stdlib/ndarray/to-rotr90]</span><span class="delimiter">: </span><span class="description">return a new `ndarray` where a matrix (or a stack of matrices) is rotated 90 degrees clockwise.</span>
298302

299303
</div>
300304

@@ -413,6 +417,12 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
413417

414418
[@stdlib/ndarray/orders]: https://github.com/stdlib-js/ndarray/tree/main/orders
415419

420+
[@stdlib/ndarray/rot180]: https://github.com/stdlib-js/ndarray/tree/main/rot180
421+
422+
[@stdlib/ndarray/rotl90]: https://github.com/stdlib-js/ndarray/tree/main/rotl90
423+
424+
[@stdlib/ndarray/to-rotr90]: https://github.com/stdlib-js/ndarray/tree/main/to-rotr90
425+
416426
[@stdlib/ndarray/base]: https://github.com/stdlib-js/ndarray/tree/main/base
417427

418428
[@stdlib/ndarray/iter]: https://github.com/stdlib-js/ndarray/tree/main/iter
@@ -565,6 +575,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
565575

566576
[@stdlib/ndarray/reverse]: https://github.com/stdlib-js/ndarray/tree/main/reverse
567577

578+
[@stdlib/ndarray/rot90]: https://github.com/stdlib-js/ndarray/tree/main/rot90
579+
568580
[@stdlib/ndarray/rotr90]: https://github.com/stdlib-js/ndarray/tree/main/rotr90
569581

570582
[@stdlib/ndarray/rowcat]: https://github.com/stdlib-js/ndarray/tree/main/rowcat

base/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ var o = ns;
4545

4646
- <span class="signature">[`anyBy( arrays, predicate[, thisArg] )`][@stdlib/ndarray/base/any-by]</span><span class="delimiter">: </span><span class="description">test whether at least one element in an ndarray passes a test implemented by a predicate function.</span>
4747
- <span class="signature">[`any( arrays )`][@stdlib/ndarray/base/any]</span><span class="delimiter">: </span><span class="description">test whether at least one element in an ndarray is truthy.</span>
48+
- <span class="signature">[`appendSingletonDimensions( x, n, writable )`][@stdlib/ndarray/base/append-singleton-dimensions]</span><span class="delimiter">: </span><span class="description">append singleton dimensions.</span>
4849
- <span class="signature">[`assignScalar( arrays )`][@stdlib/ndarray/base/assign-scalar]</span><span class="delimiter">: </span><span class="description">assign a scalar value to every element of an output ndarray.</span>
4950
- <span class="signature">[`assign( arrays )`][@stdlib/ndarray/base/assign]</span><span class="delimiter">: </span><span class="description">assign elements in an input ndarray to elements in an output ndarray.</span>
5051
- <span class="signature">[`atleast1d( arrays )`][@stdlib/ndarray/base/atleast1d]</span><span class="delimiter">: </span><span class="description">convert a list of values (scalars and/or ndarrays) to ndarrays having at least one dimension.</span>
@@ -208,6 +209,9 @@ var o = ns;
208209
- <span class="signature">[`toNormalizedIndices( indices, max )`][@stdlib/ndarray/base/to-normalized-indices]</span><span class="delimiter">: </span><span class="description">normalize a list of indices to the interval `[0,max]`.</span>
209210
- <span class="signature">[`toReversedDimension( x, dim )`][@stdlib/ndarray/base/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>
210211
- <span class="signature">[`toReversed( x )`][@stdlib/ndarray/base/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>
212+
- <span class="signature">[`toRot90( x, dims, k )`][@stdlib/ndarray/base/to-rot90]</span><span class="delimiter">: </span><span class="description">return a new ndarray where an ndarray is rotated 90 degrees in a specified plane.</span>
213+
- <span class="signature">[`toRotl90( x, k )`][@stdlib/ndarray/base/to-rotl90]</span><span class="delimiter">: </span><span class="description">return a new ndarray where a matrix (or a stack of matrices) is rotated 90 degrees counterclockwise.</span>
214+
- <span class="signature">[`toRotr90( x, k )`][@stdlib/ndarray/base/to-rotr90]</span><span class="delimiter">: </span><span class="description">return a new ndarray where a matrix (or a stack of matrices) is rotated 90 degrees clockwise.</span>
211215
- <span class="signature">[`toTransposed( x )`][@stdlib/ndarray/base/to-transposed]</span><span class="delimiter">: </span><span class="description">return a new ndarray containing the elements of an input ndarray but whose last two dimensions are transposed.</span>
212216
- <span class="signature">[`toUnflattened( x, dim, sizes )`][@stdlib/ndarray/base/to-unflattened]</span><span class="delimiter">: </span><span class="description">return a new ndarray in which a specified dimension of an input ndarray is expanded over multiple dimensions.</span>
213217
- <span class="signature">[`toUniqueNormalizedIndices( indices, max )`][@stdlib/ndarray/base/to-unique-normalized-indices]</span><span class="delimiter">: </span><span class="description">return a list of unique indices after normalizing to the interval `[0,max]`.</span>
@@ -300,6 +304,8 @@ console.log( objectKeys( ns ) );
300304

301305
[@stdlib/ndarray/base/any]: https://github.com/stdlib-js/ndarray/tree/main/base/any
302306

307+
[@stdlib/ndarray/base/append-singleton-dimensions]: https://github.com/stdlib-js/ndarray/tree/main/base/append-singleton-dimensions
308+
303309
[@stdlib/ndarray/base/assign-scalar]: https://github.com/stdlib-js/ndarray/tree/main/base/assign-scalar
304310

305311
[@stdlib/ndarray/base/assign]: https://github.com/stdlib-js/ndarray/tree/main/base/assign
@@ -626,6 +632,12 @@ console.log( objectKeys( ns ) );
626632

627633
[@stdlib/ndarray/base/to-reversed]: https://github.com/stdlib-js/ndarray/tree/main/base/to-reversed
628634

635+
[@stdlib/ndarray/base/to-rot90]: https://github.com/stdlib-js/ndarray/tree/main/base/to-rot90
636+
637+
[@stdlib/ndarray/base/to-rotl90]: https://github.com/stdlib-js/ndarray/tree/main/base/to-rotl90
638+
639+
[@stdlib/ndarray/base/to-rotr90]: https://github.com/stdlib-js/ndarray/tree/main/base/to-rotr90
640+
629641
[@stdlib/ndarray/base/to-transposed]: https://github.com/stdlib-js/ndarray/tree/main/base/to-transposed
630642

631643
[@stdlib/ndarray/base/to-unflattened]: https://github.com/stdlib-js/ndarray/tree/main/base/to-unflattened

0 commit comments

Comments
 (0)