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 <135586571+corsairier@users.noreply.github.com>
4343
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
4444
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
4545
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
4647
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
4748
Dominic Lim <46486515+domlimm@users.noreply.github.com>
4849
Dominik Moritz <domoritz@gmail.com>
4950
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
5051
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
5152
Frank Kovacs <fran70kk@gmail.com>
5253
GK Bishnoi <gkishan1kyt@gmail.com>
54+
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5355
Gaurav <gaurav70380@gmail.com>
5456
Gautam sharma <gautamkrishnasharma1@gmail.com>
57+
Girish Garg <garggirish2020@gmail.com>
5558
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5659
Gunj Joshi <gunjjoshi8372@gmail.com>
5760
Gururaj Gurram <gururajgurram1512@gmail.com>
5861
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
59-
Harsh <149176984+hrshya@users.noreply.github.com>
62+
Harsh <harshyadav6078@gmail.com>
6063
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
6164
Harshita Kalani <harshitakalani02@gmail.com>
65+
Hemang Choudhary <coehemang@gmail.com>
6266
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
6367
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
6468
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
@@ -75,16 +79,20 @@ Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
7579
Joris Labie <joris.labie1@gmail.com>
7680
Justin Dennison <justin1dennison@gmail.com>
7781
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
78-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
82+
Karan Anand <anandkarancompsci@gmail.com>
83+
Karan Vasudevamurthy <karanlvm123@gmail.com>
84+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
7985
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8086
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
8187
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
8288
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8389
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8490
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8591
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
92+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
8693
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
8794
MANI <77221000+Eternity0207@users.noreply.github.com>
95+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
8896
Manik Sharma <maniksharma.rke@gmail.com>
8997
Manvith M <148960168+manvith2003@users.noreply.github.com>
9098
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -95,10 +103,14 @@ Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
95103
Mohammad Kaif <mdkaifprofession@gmail.com>
96104
Momtchil Momtchev <momtchil@momtchev.com>
97105
Muhammad Haris <harriskhan047@outlook.com>
106+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
107+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
98108
Naresh Jagadeesan <naresh.naresh000@gmail.com>
99109
Naveen Kumar <stupiddint@gmail.com>
100110
Neeraj Pathak <neerajrpathak710@gmail.com>
111+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
101112
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
113+
Nishant singh <38534128+Nishantsingh11@users.noreply.github.com>
102114
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
103115
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
104116
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
@@ -111,8 +123,10 @@ Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
111123
Pranav Goswami <pranavchiku11@gmail.com>
112124
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
113125
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
126+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
114127
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
115128
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
129+
Pravesh Kunwar <praveshkunwar04@gmail.com>
116130
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
117131
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
118132
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
@@ -126,12 +140,14 @@ Rishav <115060907+rishav2404@users.noreply.github.com>
126140
Rishav Tarway <rishavtarway@gmail.com>
127141
Robert Gislason <gztown2216@yahoo.com>
128142
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
143+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
129144
Rutam Kathale <138517416+performant23@users.noreply.github.com>
130145
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
131146
Ryan Seal <splrk@users.noreply.github.com>
132147
Rylan Yang <137365285+rylany27@users.noreply.github.com>
133148
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
134149
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
150+
Sachin Raj <120590207+schnrj@users.noreply.github.com>
135151
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
136152
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
137153
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
@@ -152,14 +168,19 @@ Spandan Barve <contact@marsian.dev>
152168
Stephannie Jiménez Gacha <steff456@hotmail.com>
153169
Suhaib Ilahi <suhaib.elahi87@gmail.com>
154170
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
171+
Swapnil Hajare <69076366+Swapnil-2502@users.noreply.github.com>
155172
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
156173
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
157174
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
158175
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
176+
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
177+
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
178+
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
159179
Utkarsh <http://utkarsh11105@gmail.com>
160180
Utkarsh Raj <rajutkarsh2505@gmail.com>
161181
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
162182
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
183+
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
163184
Varad Gupta <varadgupta21@gmail.com>
164185
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
165186
Vivek Maurya <vm8118134@gmail.com>
@@ -168,12 +189,15 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
168189
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
169190
Yugal Kaushik <yugalkaushik14@gmail.com>
170191
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
192+
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
171193
ditsu <170345142+ditsus@users.noreply.github.com>
172194
ekambains <bainsinbusiness@gmail.com>
173195
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
196+
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
174197
lohithganni <116790357+lohithganni@users.noreply.github.com>
175198
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
176199
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
177200
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
178201
rainn <88160429+AmCodesLame@users.noreply.github.com>
179202
rei2hu <reimu@reimu.ws>
203+
zhanggy <geodaoyu@foxmail.com>

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)