Skip to content

Commit 535b7b9

Browse files
committed
Auto-generated commit
1 parent eb106fe commit 535b7b9

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

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

933933
<details>
934934

935+
- [`c534f97`](https://github.com/stdlib-js/stdlib/commit/c534f971488b2a5ebacca4dccf73a9d9b4e09bc7) - **docs:** update namespace table of contents [(#12092)](https://github.com/stdlib-js/stdlib/pull/12092) _(by stdlib-bot)_
935936
- [`25ae5aa`](https://github.com/stdlib-js/stdlib/commit/25ae5aa59b431b6b562e4fe36b69b3186111af12) - **refactor:** update error message _(by Athan Reines)_
936937
- [`ca918f8`](https://github.com/stdlib-js/stdlib/commit/ca918f82273615d9785f80d703bcf24391bb516b) - **docs:** update ToC _(by Athan Reines)_
937938
- [`e38bbc8`](https://github.com/stdlib-js/stdlib/commit/e38bbc844b58b38ccb22be0ee62b0a42aa90fd75) - **feat:** add `transpose` and `toTransposed` to namespace _(by Athan Reines)_

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ The namespace exports the following functions to manipulate multidimensional arr
157157
- <span class="signature">[`toRot90( x[, options] )`][@stdlib/ndarray/to-rot90]</span><span class="delimiter">: </span><span class="description">return a new `ndarray` where an input `ndarray` is rotated `90` degrees in a specified plane.</span>
158158
- <span class="signature">[`toRotl90( x, k )`][@stdlib/ndarray/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>
159159
- <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>
160+
- <span class="signature">[`toTransposed( x )`][@stdlib/ndarray/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>
160161
- <span class="signature">[`toUnflattened( x, dim, sizes )`][@stdlib/ndarray/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>
162+
- <span class="signature">[`transpose( x )`][@stdlib/ndarray/transpose]</span><span class="delimiter">: </span><span class="description">return a **read-only** view of an input `ndarray` in which the last two dimensions are transposed.</span>
161163
- <span class="signature">[`unflatten( x, dim, sizes )`][@stdlib/ndarray/unflatten]</span><span class="delimiter">: </span><span class="description">return a read-only view of an input ndarray in which a specified dimension is expanded over multiple dimensions.</span>
162164
- <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>
163165
- <span class="signature">[`vconcat( arrays )`][@stdlib/ndarray/vconcat]</span><span class="delimiter">: </span><span class="description">concatenate a list of ndarrays along the second-to-last dimension.</span>
@@ -636,8 +638,12 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
636638

637639
[@stdlib/ndarray/to-rotr90]: https://github.com/stdlib-js/ndarray/tree/main/to-rotr90
638640

641+
[@stdlib/ndarray/to-transposed]: https://github.com/stdlib-js/ndarray/tree/main/to-transposed
642+
639643
[@stdlib/ndarray/to-unflattened]: https://github.com/stdlib-js/ndarray/tree/main/to-unflattened
640644

645+
[@stdlib/ndarray/transpose]: https://github.com/stdlib-js/ndarray/tree/main/transpose
646+
641647
[@stdlib/ndarray/unflatten]: https://github.com/stdlib-js/ndarray/tree/main/unflatten
642648

643649
[@stdlib/ndarray/unshift]: https://github.com/stdlib-js/ndarray/tree/main/unshift

base/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ var o = ns;
8282
- <span class="signature">[`countTruthy( arrays )`][@stdlib/ndarray/base/count-truthy]</span><span class="delimiter">: </span><span class="description">count the number of truthy elements in an ndarray.</span>
8383
- <span class="signature">[`ndarray( dtype, buffer, shape, strides, offset, order )`][@stdlib/ndarray/base/ctor]</span><span class="delimiter">: </span><span class="description">create a multidimensional array.</span>
8484
- <span class="signature">[`data( x )`][@stdlib/ndarray/base/data-buffer]</span><span class="delimiter">: </span><span class="description">return the underlying data buffer of a provided ndarray.</span>
85+
- <span class="signature">[`descriptor( dtype, buffer, shape, strides, offset, order )`][@stdlib/ndarray/base/descriptor]</span><span class="delimiter">: </span><span class="description">create a plain object describing how to interpret a data buffer as an n-dimensional array.</span>
8586
- <span class="signature">[`diagonal( x, dims, k, writable )`][@stdlib/ndarray/base/diagonal]</span><span class="delimiter">: </span><span class="description">return a view of the diagonal of a matrix (or stack of matrices).</span>
8687
- <span class="signature">[`dtypeAlignment( [dtype] )`][@stdlib/ndarray/base/dtype-alignment]</span><span class="delimiter">: </span><span class="description">return the alignment (in bytes) for an underlying array data type.</span>
8788
- <span class="signature">[`dtypeChar( [dtype] )`][@stdlib/ndarray/base/dtype-char]</span><span class="delimiter">: </span><span class="description">return the single letter abbreviation for an underlying array data type.</span>
@@ -386,6 +387,8 @@ console.log( objectKeys( ns ) );
386387

387388
[@stdlib/ndarray/base/data-buffer]: https://github.com/stdlib-js/ndarray/tree/main/base/data-buffer
388389

390+
[@stdlib/ndarray/base/descriptor]: https://github.com/stdlib-js/ndarray/tree/main/base/descriptor
391+
389392
[@stdlib/ndarray/base/diagonal]: https://github.com/stdlib-js/ndarray/tree/main/base/diagonal
390393

391394
[@stdlib/ndarray/base/dtype-alignment]: https://github.com/stdlib-js/ndarray/tree/main/base/dtype-alignment

0 commit comments

Comments
 (0)