Skip to content

Commit 43601c1

Browse files
committed
Auto-generated commit
1 parent 862a5d6 commit 43601c1

File tree

8 files changed

+13
-60
lines changed

8 files changed

+13
-60
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-09)
88

99
<section class="features">
1010

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

2323
<details>
2424

25+
- [`93d2533`](https://github.com/stdlib-js/stdlib/commit/93d2533ff20f6ac32d1b1c35d04679a33476c34c) - **docs:** update examples for `complex/float32/base/sub` [(#7293)](https://github.com/stdlib-js/stdlib/pull/7293) _(by Shabareesh Shetty)_
2526
- [`1b155f1`](https://github.com/stdlib-js/stdlib/commit/1b155f118f396a5e2ad21ab2ca50247684109062) - **chore:** change naming and examples for `complex/float32/base/sub` [(#7168)](https://github.com/stdlib-js/stdlib/pull/7168) _(by Shabareesh Shetty)_
2627
- [`3a62008`](https://github.com/stdlib-js/stdlib/commit/3a620083a7978286cc05db9231ecbee4d0478e1a) - **feat:** add `complex/float32/base/sub` _(by Gururaj Gurram)_
2728

CONTRIBUTORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2222
Aman Bhansali <bhansali.1@iitj.ac.in>
2323
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2424
Amit Jimiwal <amitjimiwal45@gmail.com>
25+
Annamalai Prabu <apfossdev@gmail.com>
2526
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2627
Anshu Kumar <contact.anshukumar@protonmail.com>
2728
Anudeep Sanapala <anudeep0306@gmail.com>
@@ -38,6 +39,7 @@ Daniel Killenberger <daniel.killenberger@gmail.com>
3839
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
3940
Debashis Maharana <debashismaharana7854@gmail.com>
4041
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
42+
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
4143
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4244
Dev Goel <135586571+corsairier@users.noreply.github.com>
4345
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -53,6 +55,7 @@ Frank Kovacs <fran70kk@gmail.com>
5355
GK Bishnoi <gkishan1kyt@gmail.com>
5456
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5557
Gaurav <gaurav70380@gmail.com>
58+
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
5659
Gautam sharma <gautamkrishnasharma1@gmail.com>
5760
Girish Garg <garggirish2020@gmail.com>
5861
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
@@ -118,6 +121,7 @@ Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
118121
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
119122
Ori Miles <97595296+orimiles5@users.noreply.github.com>
120123
Philipp Burckhardt <pburckhardt@outlook.com>
124+
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
121125
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
122126
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
123127
Pranav Goswami <pranavchiku11@gmail.com>

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,12 @@ Subtracts two single-precision complex floating-point numbers.
7575

7676
```javascript
7777
var Complex64 = require( '@stdlib/complex-float32-ctor' );
78-
var realf = require( '@stdlib/complex-float32-real' );
79-
var imagf = require( '@stdlib/complex-float32-imag' );
8078

8179
var z1 = new Complex64( 5.0, 3.0 );
8280
var z2 = new Complex64( -2.0, 1.0 );
8381

8482
var v = csubf( z1, z2 );
85-
// returns <Complex64>
86-
87-
var re = realf( v );
88-
// returns 7.0
89-
90-
var im = imagf( v );
91-
// returns 2.0
83+
// returns <Complex64>[ 7.0, 2.0 ]
9284
```
9385

9486
</section>

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 & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,12 @@ import { Complex64 } from '@stdlib/types/complex';
3131
*
3232
* @example
3333
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
34-
* var realf = require( '@stdlib/complex-float32-real' );
35-
* var imagf = require( '@stdlib/complex-float32-imag' );
3634
*
3735
* var z1 = new Complex64( 5.0, 3.0 );
38-
* // returns <Complex64>
39-
*
4036
* var z2 = new Complex64( -2.0, 1.0 );
41-
* // returns <Complex64>
4237
*
4338
* var out = csubf( z1, z2 );
44-
* // returns <Complex64>
45-
*
46-
* var re = realf( out );
47-
* // returns 7.0
48-
*
49-
* var im = imagf( out );
50-
* // returns 2.0
39+
* // returns <Complex64>[ 7.0, 2.0 ]
5140
*/
5241
declare function csubf( z1: Complex64, z2: Complex64 ): Complex64;
5342

lib/index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,13 @@
2525
*
2626
* @example
2727
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
28-
* var realf = require( '@stdlib/complex-float32-real' );
29-
* var imagf = require( '@stdlib/complex-float32-imag' );
3028
* var csubf = require( '@stdlib/complex-float32-base-sub' );
3129
*
3230
* var z1 = new Complex64( 5.0, 3.0 );
33-
* // returns <Complex64>
34-
*
3531
* var z2 = new Complex64( -2.0, 1.0 );
36-
* // returns <Complex64>
3732
*
3833
* var out = csubf( z1, z2 );
39-
* // returns <Complex64>
40-
*
41-
* var re = realf( out );
42-
* // returns 7.0
43-
*
44-
* var im = imagf( out );
45-
* // returns 2.0
34+
* // returns <Complex64>[ 7.0, 2.0 ]
4635
*/
4736

4837
// MODULES //

lib/main.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,12 @@ var imagf = require( '@stdlib/complex-float32-imag' );
3737
*
3838
* @example
3939
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
40-
* var realf = require( '@stdlib/complex-float32-real' );
41-
* var imagf = require( '@stdlib/complex-float32-imag' );
4240
*
4341
* var z1 = new Complex64( 5.0, 3.0 );
44-
* // returns <Complex64>
45-
*
4642
* var z2 = new Complex64( -2.0, 1.0 );
47-
* // returns <Complex64>
4843
*
4944
* var out = csubf( z1, z2 );
50-
* // returns <Complex64>
51-
*
52-
* var re = realf( out );
53-
* // returns 7.0
54-
*
55-
* var im = imagf( out );
56-
* // returns 2.0
45+
* // returns <Complex64>[ 7.0, 2.0 ]
5746
*/
5847
function csubf( z1, z2 ) {
5948
var re = f32( realf( z1 ) - realf( z2 ) );

lib/native.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,12 @@ var addon = require( './../src/addon.node' );
3636
*
3737
* @example
3838
* var Complex64 = require( '@stdlib/complex-float32-ctor' );
39-
* var realf = require( '@stdlib/complex-float32-real' );
40-
* var imagf = require( '@stdlib/complex-float32-imag' );
4139
*
4240
* var z1 = new Complex64( 5.0, 3.0 );
43-
* // returns <Complex64>
44-
*
4541
* var z2 = new Complex64( -2.0, 1.0 );
46-
* // returns <Complex64>
4742
*
4843
* var out = csubf( z1, z2 );
49-
* // returns <Complex64>
50-
*
51-
* var re = realf( out );
52-
* // returns 7.0
53-
*
54-
* var im = imagf( out );
55-
* // returns 2.0
44+
* // returns <Complex64>[ 7.0, 2.0 ]
5645
*/
5746
function csubf( z1, z2 ) {
5847
var v = addon( z1, z2 );

0 commit comments

Comments
 (0)