Skip to content

Commit f55441c

Browse files
committed
Auto-generated commit
1 parent 038f401 commit f55441c

File tree

8 files changed

+13
-80
lines changed

8 files changed

+13
-80
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-06-04)
7+
## Unreleased (2025-06-08)
88

99
<section class="features">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`f482c99`](https://github.com/stdlib-js/stdlib/commit/f482c9978e9ff27b9c9bf4afe03a6ee8e79f254a) - **docs:** update examples for `complex/float64/base/mul-add` [(#7267)](https://github.com/stdlib-js/stdlib/pull/7267) _(by Shabareesh Shetty)_
2526
- [`8bf8f93`](https://github.com/stdlib-js/stdlib/commit/8bf8f93d8fe5b05cd7de8347abb65255ec3b06aa) - **docs:** change examples for `complex/float64/base/mul-add` [(#7191)](https://github.com/stdlib-js/stdlib/pull/7191) _(by Shabareesh Shetty)_
2627
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
2728
- [`b957f93`](https://github.com/stdlib-js/stdlib/commit/b957f93bfacfa2b307db9b30a45fa48ce5b4488b) - **docs:** fix description _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ AlyAbdelmoneim <[email protected]>
2222
Aman Bhansali <[email protected]>
2323
AmanBhadkariya <[email protected]>
2424
Amit Jimiwal <[email protected]>
25+
Annamalai Prabu <[email protected]>
2526
Anshu Kumar <[email protected]>
2627
Anshu Kumar <[email protected]>
2728
Anudeep Sanapala <[email protected]>
@@ -38,6 +39,7 @@ Daniel Killenberger <[email protected]>
3839
Daniel Yu <[email protected]>
3940
Debashis Maharana <[email protected]>
4041
Deep Trivedi <[email protected]>
42+
Deepak Singh <[email protected]>
4143
Desh Deepak Kant <[email protected]>
4244
4345
Dhanyabad behera <[email protected]>
@@ -53,6 +55,7 @@ Frank Kovacs <[email protected]>
5355
GK Bishnoi <[email protected]>
5456
GURU PRASAD SHARMA <[email protected]>
5557
58+
Gautam Kaushik <[email protected]>
5659
Gautam sharma <[email protected]>
5760
Girish Garg <[email protected]>
5861
Golden Kumar <[email protected]>

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,7 @@ var z3 = new Complex128( 7.0, -8.0 );
8484

8585
// Compute `alpha*x + y`:
8686
var v = muladd( z1, z2, z3 );
87-
// returns <Complex128>
88-
89-
var re = real( v );
90-
// returns -6.0
91-
92-
var im = imag( v );
93-
// returns -9.0
87+
// returns <Complex128>[ -6.0, -9.0 ]
9488
```
9589

9690
The function supports the following parameters:

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: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,13 @@ interface MulAdd {
4747
*
4848
* @example
4949
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
50-
* var real = require( '@stdlib/complex-float64-real' );
51-
* var imag = require( '@stdlib/complex-float64-imag' );
5250
*
5351
* var z1 = new Complex128( 5.0, 3.0 );
54-
* // returns <Complex128>
55-
*
5652
* var z2 = new Complex128( -2.0, 1.0 );
57-
* // returns <Complex128>
58-
*
5953
* var z3 = new Complex128( 7.0, -8.0 );
60-
* // returns <Complex128>
6154
*
6255
* var out = muladd( z1, z2, z3 );
63-
* // returns <Complex128>
64-
*
65-
* var re = real( out );
66-
* // returns -6.0
67-
*
68-
* var im = imag( out );
69-
* // returns -9.0
56+
* // returns <Complex128>[ -6.0, -9.0 ]
7057
*/
7158
( alpha: Complex128, x: Complex128, y: Complex128 ): Complex128;
7259

@@ -132,26 +119,13 @@ interface MulAdd {
132119
*
133120
* @example
134121
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
135-
* var real = require( '@stdlib/complex-float64-real' );
136-
* var imag = require( '@stdlib/complex-float64-imag' );
137122
*
138123
* var z1 = new Complex128( 5.0, 3.0 );
139-
* // returns <Complex128>
140-
*
141124
* var z2 = new Complex128( -2.0, 1.0 );
142-
* // returns <Complex128>
143-
*
144125
* var z3 = new Complex128( 7.0, -8.0 );
145-
* // returns <Complex128>
146126
*
147127
* var out = muladd( z1, z2, z3 );
148-
* // returns <Complex128>
149-
*
150-
* var re = real( out );
151-
* // returns -6.0
152-
*
153-
* var im = imag( out );
154-
* // returns -9.0
128+
* // returns <Complex128>[ -6.0, -9.0 ]
155129
*
156130
* @example
157131
* var Float64Array = require( '@stdlib/array-float64' );

lib/index.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,14 @@
2525
*
2626
* @example
2727
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
28-
* var real = require( '@stdlib/complex-float64-real' );
29-
* var imag = require( '@stdlib/complex-float64-imag' );
3028
* var muladd = require( '@stdlib/complex-float64-base-mul-add' );
3129
*
3230
* var z1 = new Complex128( 5.0, 3.0 );
33-
* // returns <Complex128>
34-
*
3531
* var z2 = new Complex128( -2.0, 1.0 );
36-
* // returns <Complex128>
37-
*
3832
* var z3 = new Complex128( 7.0, -8.0 );
39-
* // returns <Complex128>
4033
*
4134
* var out = muladd( z1, z2, z3 );
42-
* // returns <Complex128>
43-
*
44-
* var re = real( out );
45-
* // returns -6.0
46-
*
47-
* var im = imag( out );
48-
* // returns -9.0
35+
* // returns <Complex128>[ -6.0, -9.0 ]
4936
*/
5037

5138
// MODULES //

lib/main.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,13 @@ var imag = require( '@stdlib/complex-float64-imag' );
3737
*
3838
* @example
3939
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
40-
* var real = require( '@stdlib/complex-float64-real' );
41-
* var imag = require( '@stdlib/complex-float64-imag' );
4240
*
4341
* var z1 = new Complex128( 5.0, 3.0 );
44-
* // returns <Complex128>
45-
*
4642
* var z2 = new Complex128( -2.0, 1.0 );
47-
* // returns <Complex128>
48-
*
4943
* var z3 = new Complex128( 7.0, -8.0 );
50-
* // returns <Complex128>
5144
*
5245
* var out = muladd( z1, z2, z3 );
53-
* // returns <Complex128>
54-
*
55-
* var re = real( out );
56-
* // returns -6.0
57-
*
58-
* var im = imag( out );
59-
* // returns -9.0
46+
* // returns <Complex128>[ -6.0, -9.0 ]
6047
*/
6148
function muladd( alpha, x, y ) {
6249
var re0 = real( alpha );

lib/native.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,13 @@ var addon = require( './../src/addon.node' );
3737
*
3838
* @example
3939
* var Complex128 = require( '@stdlib/complex-float64-ctor' );
40-
* var real = require( '@stdlib/complex-float64-real' );
41-
* var imag = require( '@stdlib/complex-float64-imag' );
4240
*
4341
* var z1 = new Complex128( 5.0, 3.0 );
44-
* // returns <Complex128>
45-
*
4642
* var z2 = new Complex128( -2.0, 1.0 );
47-
* // returns <Complex128>
48-
*
4943
* var z3 = new Complex128( 7.0, -8.0 );
50-
* // returns <Complex128>
5144
*
5245
* var out = muladd( z1, z2, z3 );
53-
* // returns <Complex128>
54-
*
55-
* var re = real( out );
56-
* // returns -6.0
57-
*
58-
* var im = imag( out );
59-
* // returns -9.0
46+
* // returns <Complex128>[ -6.0, -9.0 ]
6047
*/
6148
function muladd( alpha, x, y ) {
6249
var v = addon( alpha, x, y );

0 commit comments

Comments
 (0)