Skip to content

Commit aba3aec

Browse files
committed
Auto-generated commit
1 parent a3f9af1 commit aba3aec

4 files changed

Lines changed: 5 additions & 17 deletions

File tree

CHANGELOG.md

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

1313
<details>
1414

15+
- [`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)_
1516
- [`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)_
1617
- [`ccec3e4`](https://github.com/stdlib-js/stdlib/commit/ccec3e43076042d67dbaa814e5140c10f1b85b58) - **docs:** improve doctests for complex number instances in `array/complex128` [(#11973)](https://github.com/stdlib-js/stdlib/pull/11973) _(by Karan Anand)_
1718
- [`08624f9`](https://github.com/stdlib-js/stdlib/commit/08624f9135cd19871865ea671a232f4d3149e639) - **docs:** improve doctests for complex number instances in `array/complex128` [(#10718)](https://github.com/stdlib-js/stdlib/pull/10718) _(by Aniket Sonawane, Athan Reines, stdlib-bot)_

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

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)