Skip to content

Commit 038f401

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

File tree

5 files changed

+52
-32
lines changed

5 files changed

+52
-32
lines changed

CHANGELOG.md

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

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

99
<section class="features">
1010

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

2323
<details>
2424

25+
- [`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)_
2526
- [`a1e230f`](https://github.com/stdlib-js/stdlib/commit/a1e230f29297caa89880e9c194c615a0400fb7bc) - **chore:** clean up cppcheck-suppress comments _(by Karan Anand)_
2627
- [`b957f93`](https://github.com/stdlib-js/stdlib/commit/b957f93bfacfa2b307db9b30a45fa48ce5b4488b) - **docs:** fix description _(by Athan Reines)_
2728
- [`eb938ff`](https://github.com/stdlib-js/stdlib/commit/eb938fff22223cbbfb04568e30a4f62f8455d3bc) - **bench:** fix incomplete refactoring _(by Athan Reines)_
@@ -37,10 +38,11 @@
3738

3839
### Contributors
3940

40-
A total of 2 people contributed to this release. Thank you to the following contributors:
41+
A total of 3 people contributed to this release. Thank you to the following contributors:
4142

4243
- Athan Reines
4344
- Karan Anand
45+
- Shabareesh Shetty
4446

4547
</section>
4648

CONTRIBUTORS

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,26 @@ Dev Goel <[email protected]>
4343
Dhanyabad behera <[email protected]>
4444
Dhruv Arvind Singh <[email protected]>
4545
Dhruvil Mehta <[email protected]>
46+
Dipjyoti Das <[email protected]>
4647
Divyansh Seth <[email protected]>
4748
Dominic Lim <[email protected]>
4849
Dominik Moritz <[email protected]>
4950
Dorrin Sotoudeh <[email protected]>
5051
EuniceSim142 <[email protected]>
5152
Frank Kovacs <[email protected]>
5253
GK Bishnoi <[email protected]>
54+
GURU PRASAD SHARMA <[email protected]>
5355
5456
Gautam sharma <[email protected]>
57+
Girish Garg <[email protected]>
5558
Golden Kumar <[email protected]>
5659
Gunj Joshi <[email protected]>
5760
Gururaj Gurram <[email protected]>
5861
Haroon Rasheed <[email protected]>
59-
Harsh <[email protected].com>
62+
Harsh <harshyadav6078@gmail.com>
6063
6164
Harshita Kalani <[email protected]>
65+
Hemang Choudhary <[email protected]>
6266
Hemant M Mehta <[email protected]>
6367
Hridyanshu <[email protected]>
6468
Jaimin Godhani <[email protected]>
@@ -75,16 +79,20 @@ Jordan Gallivan <[email protected]>
7579
Joris Labie <[email protected]>
7680
Justin Dennison <[email protected]>
7781
Justyn Shelby <[email protected]>
78-
Karan Anand <[email protected]>
82+
Karan Anand <[email protected]>
83+
Karan Vasudevamurthy <[email protected]>
84+
Karan Yadav <[email protected]>
7985
Karthik Prakash <[email protected]>
8086
Kaushikgtm <[email protected]>
8187
Kavyansh-Bagdi <[email protected]>
8288
Kohantika Nath <[email protected]>
8389
Krishnam Agarwal <[email protected]>
8490
Krishnendu Das <[email protected]>
8591
Kshitij-Dale <[email protected]>
92+
Lalit Narayan Yadav <[email protected]>
8693
Lovelin Dhoni J B <[email protected]>
8794
95+
Mahfuza Humayra Mohona <[email protected]>
8896
Manik Sharma <[email protected]>
8997
Manvith M <[email protected]>
9098
Marcus Fantham <[email protected]>
@@ -95,10 +103,14 @@ Mohammad Bin Aftab <[email protected]>
95103
Mohammad Kaif <[email protected]>
96104
Momtchil Momtchev <[email protected]>
97105
Muhammad Haris <[email protected]>
106+
Muhammad Taaha Tariq <[email protected]>
107+
Muhmmad Saad <[email protected]>
98108
Naresh Jagadeesan <[email protected]>
99109
Naveen Kumar <[email protected]>
100110
Neeraj Pathak <[email protected]>
111+
NirvedMishra <[email protected]>
101112
Nishant Shinde <[email protected]>
113+
Nishant singh <[email protected]>
102114
Nishchay Rajput <[email protected]>
103115
Nithin Katta <[email protected]>
104116
Nourhan Hasan <[email protected]>
@@ -111,8 +123,10 @@ Prajwal Kulkarni <[email protected]>
111123
Pranav Goswami <[email protected]>
112124
Pranjal Jha <[email protected]>
113125
Prashant Kumar Yadav <[email protected]>
126+
PrathamBhamare <[email protected]>
114127
Pratik Singh <[email protected]>
115128
Pratyush Kumar Chouhan <[email protected]>
129+
Pravesh Kunwar <[email protected]>
116130
Priyansh Prajapati <[email protected]>
117131
Priyanshu Agarwal <[email protected]>
118132
Pulkit Gupta <[email protected]>
@@ -126,12 +140,14 @@ Rishav <[email protected]>
126140
Rishav Tarway <[email protected]>
127141
Robert Gislason <[email protected]>
128142
Roman Stetsyk <[email protected]>
143+
129144
Rutam Kathale <[email protected]>
130145
Ruthwik Chikoti <[email protected]>
131146
Ryan Seal <[email protected]>
132147
Rylan Yang <[email protected]>
133148
SAHIL KUMAR <[email protected]>
134149
SHIVAM YADAV <[email protected]>
150+
Sachin Raj <[email protected]>
135151
Sahil Goyal <[email protected]>
136152
Sai Avinash <[email protected]>
137153
Sai Srikar Dumpeti <[email protected]>
@@ -152,14 +168,19 @@ Spandan Barve <[email protected]>
152168
Stephannie Jiménez Gacha <[email protected]>
153169
Suhaib Ilahi <[email protected]>
154170
Suraj Kumar <[email protected]>
171+
Swapnil Hajare <[email protected]>
155172
Tanishq Ahuja <[email protected]>
156173
Tirtadwipa Manunggal <[email protected]>
157174
Tudor Pagu <[email protected]>
158175
Tufailahmed Bargir <[email protected]>
176+
Tushar Bhardwaj <[email protected]>
177+
Uday Kakade <[email protected]>
178+
Ujjwal Kirti <[email protected]>
159179
Utkarsh <http://[email protected]>
160180
Utkarsh Raj <[email protected]>
161181
UtkershBasnet <[email protected]>
162182
Vaibhav Patel <[email protected]>
183+
Vara Rahul Rajana <[email protected]>
163184
Varad Gupta <[email protected]>
164185
Vinit Pandit <[email protected]>
165186
Vivek Maurya <[email protected]>
@@ -168,12 +189,15 @@ Yaswanth Kosuru <[email protected]>
168189
Yernar Yergaziyev <[email protected]>
169190
Yugal Kaushik <[email protected]>
170191
Yuvi Mittal <[email protected]>
192+
devshree-bhati <[email protected]>
171193
172194
ekambains <[email protected]>
173195
fadiothman22 <[email protected]>
196+
iraandrushko <[email protected]>
174197
lohithganni <[email protected]>
175198
olenkabilonizhka <[email protected]>
176199
pranav-1720 <[email protected]>
177200
rahulrangers <[email protected]>
178201
179202
203+

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,22 +171,18 @@ The function supports the following parameters:
171171
<!-- eslint no-undef: "error" -->
172172

173173
```javascript
174-
var Complex128 = require( '@stdlib/complex-float64-ctor' );
175-
var discreteUniform = require( '@stdlib/random-base-discrete-uniform' ).factory;
174+
var Complex128Array = require( '@stdlib/array-complex128' );
175+
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
176+
var logEachMap = require( '@stdlib/console-log-each-map' );
176177
var muladd = require( '@stdlib/complex-float64-base-mul-add' );
177178

178-
var rand = discreteUniform( -50, 50 );
179-
180-
var z1;
181-
var z2;
182-
var z3;
183-
var i;
184-
for ( i = 0; i < 100; i++ ) {
185-
z1 = new Complex128( rand(), rand() );
186-
z2 = new Complex128( rand(), rand() );
187-
z3 = muladd( z1, z2, z2 );
188-
console.log( '(%s)*(%s) + (%s) = %s', z1.toString(), z2.toString(), z2.toString(), z3.toString() );
189-
}
179+
// Generate arrays of random values:
180+
var z1 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
181+
var z2 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
182+
var z3 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
183+
184+
// Perform element-wise computation:
185+
logEachMap( '( (%s) * (%s) ) + (%s) = %s', z1, z2, z3, muladd );
190186
```
191187

192188
</section>

examples/index.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,15 @@
1818

1919
'use strict';
2020

21-
var Complex128 = require( '@stdlib/complex-float64-ctor' );
22-
var discreteUniform = require( '@stdlib/random-base-discrete-uniform' ).factory;
21+
var Complex128Array = require( '@stdlib/array-complex128' );
22+
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
23+
var logEachMap = require( '@stdlib/console-log-each-map' );
2324
var muladd = require( './../lib' );
2425

25-
var rand = discreteUniform( -50, 50 );
26+
// Generate arrays of random values:
27+
var z1 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
28+
var z2 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
29+
var z3 = new Complex128Array( discreteUniform( 200, -50, 50 ) );
2630

27-
var z1;
28-
var z2;
29-
var z3;
30-
var i;
31-
for ( i = 0; i < 100; i++ ) {
32-
z1 = new Complex128( rand(), rand() );
33-
z2 = new Complex128( rand(), rand() );
34-
z3 = muladd( z1, z2, z2 );
35-
console.log( '(%s)*(%s) + (%s) = %s', z1.toString(), z2.toString(), z2.toString(), z3.toString() );
36-
}
31+
// Perform element-wise computation:
32+
logEachMap( '( (%s) * (%s) ) + (%s) = %s', z1, z2, z3, muladd );

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@
5050
"@stdlib/utils-library-manifest": "^0.2.2"
5151
},
5252
"devDependencies": {
53+
"@stdlib/array-complex128": "^0.3.0",
5354
"@stdlib/array-float64": "^0.2.2",
5455
"@stdlib/assert-is-method": "^0.2.2",
5556
"@stdlib/assert-is-same-float64array": "^0.2.2",
57+
"@stdlib/console-log-each-map": "github:stdlib-js/console-log-each-map#main",
5658
"@stdlib/math-base-assert-is-nan": "^0.2.2",
59+
"@stdlib/random-array-discrete-uniform": "^0.2.1",
5760
"@stdlib/random-array-uniform": "^0.2.1",
58-
"@stdlib/random-base-discrete-uniform": "^0.2.1",
5961
"@stdlib/random-base-uniform": "^0.2.1",
6062
"@stdlib/utils-try-require": "^0.2.2",
6163
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

0 commit comments

Comments
 (0)