Skip to content

Commit 28b463e

Browse files
committed
Auto-generated commit
1 parent c0d3bd6 commit 28b463e

3 files changed

Lines changed: 3 additions & 15 deletions

File tree

CHANGELOG.md

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

273273
<details>
274274

275+
- [`7ae30c3`](https://github.com/stdlib-js/stdlib/commit/7ae30c37a2db6298fc32bcfce8e52db8e940d1e5) - **docs:** improve doctests for complex number typed arrays in `array/complex128` [(#12071)](https://github.com/stdlib-js/stdlib/pull/12071) _(by Karan Anand)_
275276
- [`02f0b0f`](https://github.com/stdlib-js/stdlib/commit/02f0b0fc4c6b8913d3bb30a33de136627757843d) - **docs:** fix `Complex64Array` import in `array/base/take` [(#12066)](https://github.com/stdlib-js/stdlib/pull/12066) _(by Karan Anand)_
276277
- [`32af5b8`](https://github.com/stdlib-js/stdlib/commit/32af5b8558638f4e0a35432fb355affd8bce097d) - **test:** fix `Complex128` import in `array/complex128` [(#12064)](https://github.com/stdlib-js/stdlib/pull/12064) _(by Karan Anand)_
277278
- [`24634ce`](https://github.com/stdlib-js/stdlib/commit/24634ceba68fe9e1f0ebf700a9a8b0fdc0c2902b) - **test:** fix `Uint8Array` import in `array/bool` [(#12063)](https://github.com/stdlib-js/stdlib/pull/12063) _(by Karan Anand)_

complex128/docs/types/index.d.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,6 @@ declare class Complex128Array implements Complex128ArrayInterface {
433433
*
434434
* @example
435435
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
436-
* var real = require( '@stdlib/complex/float64/real' );
437-
* var imag = require( '@stdlib/complex/float64/imag' );
438436
*
439437
* var arr = new Complex128Array( 4 );
440438
*
@@ -446,15 +444,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
446444
*
447445
* // Copy the first two elements to the last two elements:
448446
* arr.copyWithin( 2, 0, 2 );
449-
*
450-
* // Get the last array element:
451-
* var z = arr.get( 3 );
452-
*
453-
* var re = real( z );
454-
* // returns 2.0
455-
*
456-
* var im = imag( z );
457-
* // returns 2.0
447+
* // arr => <Complex128Array>[ 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 2.0, 2.0 ]
458448
*/
459449
copyWithin( target: number, start: number, end?: number ): Complex128Array;
460450

complex128/lib/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,7 @@ setReadOnly( Complex128Array.prototype, 'BYTES_PER_ELEMENT', Complex128Array.BYT
683683
*
684684
* // Copy the first two elements to the last two elements:
685685
* arr.copyWithin( 2, 0, 2 );
686-
*
687-
* // Get the last array element:
688-
* var z = arr.get( 3 );
689-
* // returns <Complex128>[ 2.0, 2.0 ]
686+
* // arr => <Complex128Array>[ 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 2.0, 2.0 ]
690687
*/
691688
setReadOnly( Complex128Array.prototype, 'copyWithin', function copyWithin( target, start ) {
692689
if ( !isComplexArray( this ) ) {

0 commit comments

Comments
 (0)