Skip to content

Commit fa3b5d7

Browse files
committed
Auto-generated commit
1 parent eb89a6d commit fa3b5d7

2 files changed

Lines changed: 2 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`727a69c`](https://github.com/stdlib-js/stdlib/commit/727a69cb34991e322acd1fc76c828a7243faf96f) - **refactor:** remove redundant overload in `ndarray/base/transpose` [(#12632)](https://github.com/stdlib-js/stdlib/pull/12632) _(by Philipp Burckhardt)_
2526
- [`853c4b4`](https://github.com/stdlib-js/stdlib/commit/853c4b4f23a7187a6acaf937d9f7af2f079e941d) - **refactor:** remove redundant union member in `ndarray/base/some` [(#12634)](https://github.com/stdlib-js/stdlib/pull/12634) _(by Philipp Burckhardt)_
2627
- [`81bb9b4`](https://github.com/stdlib-js/stdlib/commit/81bb9b4388146ac422e75697d177c2beeaf47d41) - **docs:** update `ndarray/iter` TypeScript declarations [(#12592)](https://github.com/stdlib-js/stdlib/pull/12592) _(by stdlib-bot)_
2728
- [`e08276d`](https://github.com/stdlib-js/stdlib/commit/e08276d789ba1671769175bf5d2c3c5f587f6dca) - **feat:** update `ndarray` TypeScript declarations [(#12593)](https://github.com/stdlib-js/stdlib/pull/12593) _(by stdlib-bot)_

base/transpose/docs/types/index.d.ts

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray, typedndarray, genericndarray } from '@stdlib/types/ndarray';
23+
import { ndarray, typedndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Transposes a matrix (or a stack of matrices).
@@ -47,31 +47,6 @@ import { ndarray, typedndarray, genericndarray } from '@stdlib/types/ndarray';
4747
*/
4848
declare function transpose<T extends typedndarray<unknown> = typedndarray<unknown>>( x: T, writable: boolean ): T;
4949

50-
/**
51-
* Transposes a matrix (or a stack of matrices).
52-
*
53-
* @param x - input array
54-
* @param writable - boolean indicating whether the returned ndarray should be writable
55-
* @returns ndarray view
56-
*
57-
* @example
58-
* var getData = require( '@stdlib/ndarray/data-buffer' );
59-
* var array = require( '@stdlib/ndarray/array' );
60-
*
61-
* var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ], {
62-
* 'dtype': 'generic',
63-
* 'casting': 'unsafe'
64-
* });
65-
* // returns <ndarray>[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
66-
*
67-
* var y = transpose( x, false );
68-
* // returns <ndarray>[ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ]
69-
*
70-
* var bool = ( getData( x ) === getData( y ) );
71-
* // returns true
72-
*/
73-
declare function transpose<T extends genericndarray<unknown> = genericndarray<unknown>>( x: T, writable: boolean ): T;
74-
7550
/**
7651
* Transposes a matrix (or a stack of matrices).
7752
*

0 commit comments

Comments
 (0)