You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To invoke a function for each `src` value, provide a callback function. If `src` is an iterable or an array-like object containing complex numbers, the callback must return either a complex number
378
378
379
379
```javascript
380
-
var Complex128 =require( '@stdlib/complex-float64' );
380
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
381
381
var real =require( '@stdlib/complex-real' );
382
382
var imag =require( '@stdlib/complex-imag' );
383
383
@@ -409,7 +409,7 @@ or an array-like object containing real and imaginary components
var Complex128 =require( '@stdlib/complex-float64' );
461
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
462
462
var real =require( '@stdlib/complex-real' );
463
463
var imag =require( '@stdlib/complex-imag' );
464
464
@@ -494,7 +494,7 @@ A callback function is provided two arguments:
494
494
To set the callback execution context, provide a `thisArg`.
495
495
496
496
```javascript
497
-
var Complex128 =require( '@stdlib/complex-float64' );
497
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
498
498
var real =require( '@stdlib/complex-real' );
499
499
var imag =require( '@stdlib/complex-imag' );
500
500
@@ -529,7 +529,7 @@ var n = ctx.count;
529
529
Creates a new 128-bit complex number array from a variable number of arguments.
530
530
531
531
```javascript
532
-
var Complex128 =require( '@stdlib/complex-float64' );
532
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
533
533
534
534
var arr =Complex128Array.of( 1.0, -1.0, 2.0, -2.0 );
535
535
// returns <Complex128Array>
@@ -604,7 +604,7 @@ z = arr.at( -100 );
604
604
Copies a sequence of elements within the array starting at `start` and ending at `end` (non-inclusive) to the position starting at `target`.
605
605
606
606
```javascript
607
-
var Complex128 =require( '@stdlib/complex-float64' );
607
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
608
608
var real =require( '@stdlib/complex-real' );
609
609
var imag =require( '@stdlib/complex-imag' );
610
610
@@ -663,7 +663,7 @@ im = imag( z );
663
663
By default, `end` equals the number of array elements (i.e., one more than the last array index). To limit the sequence length, provide an `end` argument.
664
664
665
665
```javascript
666
-
var Complex128 =require( '@stdlib/complex-float64' );
666
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
667
667
var real =require( '@stdlib/complex-real' );
668
668
var imag =require( '@stdlib/complex-imag' );
669
669
@@ -722,7 +722,7 @@ im = imag( z );
722
722
When a `target`, `start`, and/or `end` index is negative, the respective index is determined relative to the last array element. The following example achieves the same behavior as the previous example:
723
723
724
724
```javascript
725
-
var Complex128 =require( '@stdlib/complex-float64' );
725
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
726
726
var real =require( '@stdlib/complex-real' );
727
727
var imag =require( '@stdlib/complex-imag' );
728
728
@@ -785,7 +785,7 @@ im = imag( z );
785
785
Returns an iterator for iterating over array key-value pairs.
786
786
787
787
```javascript
788
-
var Complex128 =require( '@stdlib/complex-float64' );
788
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
789
789
var real =require( '@stdlib/complex-real' );
790
790
var imag =require( '@stdlib/complex-imag' );
791
791
@@ -896,7 +896,7 @@ var count = context.count;
896
896
Returns a modified typed array filled with a fill value.
897
897
898
898
```javascript
899
-
var Complex128 =require( '@stdlib/complex-float64' );
899
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
900
900
var real =require( '@stdlib/complex-real' );
901
901
var imag =require( '@stdlib/complex-imag' );
902
902
@@ -969,7 +969,7 @@ im = imag( z );
969
969
When a `start` and/or `end` index is negative, the respective index is determined relative to the last array element.
970
970
971
971
```javascript
972
-
var Complex128 =require( '@stdlib/complex-float64' );
972
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
973
973
var real =require( '@stdlib/complex-real' );
974
974
var imag =require( '@stdlib/complex-imag' );
975
975
@@ -1343,7 +1343,7 @@ var count = context.count;
1343
1343
Invokes a function once for each array element.
1344
1344
1345
1345
```javascript
1346
-
var Complex128 =require( '@stdlib/complex-float64' );
1346
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1347
1347
1348
1348
functionlog( v, i ) {
1349
1349
console.log( '%s: %s', i, v.toString() );
@@ -1373,7 +1373,7 @@ The invoked function is provided three arguments:
1373
1373
To set the function execution context, provide a `thisArg`.
1374
1374
1375
1375
```javascript
1376
-
var Complex128 =require( '@stdlib/complex-float64' );
1376
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1377
1377
1378
1378
functionfcn( v, i ) {
1379
1379
this.count+=1;
@@ -1444,7 +1444,7 @@ var z = arr.get( 100 );
1444
1444
Returns a boolean indicating whether an array includes a provided value.
1445
1445
1446
1446
```javascript
1447
-
var Complex128 =require( '@stdlib/complex-float64' );
1447
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
Returns a new array with each element being the result of a provided callback function.
1619
1619
1620
1620
```javascript
1621
-
var Complex128 =require( '@stdlib/complex-float64' );
1621
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1622
1622
var real =require( '@stdlib/complex-real' );
1623
1623
var imag =require( '@stdlib/complex-imag' );
1624
1624
@@ -1655,7 +1655,7 @@ The callback function is provided three arguments:
1655
1655
To set the function execution context, provide a `thisArg`.
1656
1656
1657
1657
```javascript
1658
-
var Complex128 =require( '@stdlib/complex-float64' );
1658
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1659
1659
var real =require( '@stdlib/complex-real' );
1660
1660
var imag =require( '@stdlib/complex-imag' );
1661
1661
@@ -1844,7 +1844,7 @@ im = imag( z );
1844
1844
Sets one or more array elements.
1845
1845
1846
1846
```javascript
1847
-
var Complex128 =require( '@stdlib/complex-float64' );
1847
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1848
1848
var real =require( '@stdlib/complex-real' );
1849
1849
var imag =require( '@stdlib/complex-imag' );
1850
1850
@@ -1877,7 +1877,7 @@ im = imag( z );
1877
1877
By default, the method sets array elements starting at position (index) `i = 0`. To set elements starting elsewhere in the array, provide an index argument `i`.
1878
1878
1879
1879
```javascript
1880
-
var Complex128 =require( '@stdlib/complex-float64' );
1880
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1881
1881
var real =require( '@stdlib/complex-real' );
1882
1882
var imag =require( '@stdlib/complex-imag' );
1883
1883
@@ -1910,7 +1910,7 @@ im = imag( z );
1910
1910
In addition to providing a complex number, to set one or more array elements, provide an array-like object containing either complex numbers
1911
1911
1912
1912
```javascript
1913
-
var Complex128 =require( '@stdlib/complex-float64' );
1913
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
1914
1914
var real =require( '@stdlib/complex-real' );
1915
1915
var imag =require( '@stdlib/complex-imag' );
1916
1916
@@ -2523,7 +2523,7 @@ Returns a new typed array with the element at a provided index replaced with a p
2523
2523
```javascript
2524
2524
var real =require( '@stdlib/complex-real' );
2525
2525
var imag =require( '@stdlib/complex-imag' );
2526
-
var Complex128 =require( '@stdlib/complex-float64' );
2526
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
2527
2527
2528
2528
var arr =newComplex128Array( 3 );
2529
2529
@@ -2578,7 +2578,7 @@ var im = imag( z );
2578
2578
<!-- eslint no-undef: "error" -->
2579
2579
2580
2580
```javascript
2581
-
var Complex128 =require( '@stdlib/complex-float64' );
2581
+
var Complex128 =require( '@stdlib/complex-float64-ctor' );
0 commit comments