Skip to content

Commit 61a81a0

Browse files
authored
Merge branch 'develop' into migrate-math-base-ops-addf
Signed-off-by: Athan <[email protected]>
2 parents ec08225 + 16fe13d commit 61a81a0

File tree

361 files changed

+6912
-974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

361 files changed

+6912
-974
lines changed

.github/workflows/scripts/create_address_commit_comments_issues

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ issue_exists_for_commit() {
194194
local query
195195

196196
# Build a search query that looks for the commit short SHA in the issue title:
197-
local raw_query="repo:${owner}/${repo} in:title \"commit ${short_sha}\""
197+
local raw_query="repo:${owner}/${repo} in:title \"commit \`${short_sha}\`\""
198198

199199
# URL-encode the query using jq:
200200
query=$(echo "$raw_query" | jq -sRr @uri)
@@ -211,8 +211,7 @@ issue_exists_for_commit() {
211211
local total_count
212212
total_count=$(echo "$response" | jq -r '.total_count')
213213

214-
if [ "$total_count" -gt 0 ]; then
215-
# An issue already exists:
214+
if [ "$total_count" = "null" ] || [ "$total_count" -gt 0 ]; then
216215
return 0
217216
else
218217
return 1

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ Stephannie Jiménez Gacha <[email protected]> <[email protected].
201201
Stephannie Jiménez Gacha <[email protected]> Stephannie Jimenez
202202
Stephannie Jiménez Gacha <[email protected]> Stephannie Jimenez Gacha
203203

204+
Suhaib Ilahi <[email protected]> Suhaib
205+
204206
Suraj Kumar <[email protected]> Suraj kuma
205207

206208
# T
@@ -236,3 +238,5 @@ Yaswanth Kosuru <[email protected]> yaswanth
236238

237239
238240
241+
242+
Yuvi Mittal <[email protected]> yuvi-mittal

CONTRIBUTORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Sai Srikar Dumpeti <[email protected]>
104104
Sarthak Paandey <[email protected]>
105105
Saurabh Singh <[email protected]>
106106
Seyyed Parsa Neshaei <[email protected]>
107+
Shabareesh Shetty <[email protected]>
107108
Shashank Shekhar Singh <[email protected]>
108109
Shivam Ahir <[email protected]>
109110
Shraddheya Shendre <[email protected]>
@@ -114,6 +115,7 @@ Snehil Shah <[email protected]>
114115
Soumajit Chatterjee <[email protected]>
115116
Spandan Barve <[email protected]>
116117
Stephannie Jiménez Gacha <[email protected]>
118+
Suhaib Ilahi <[email protected]>
117119
Suraj Kumar <[email protected]>
118120
Tirtadwipa Manunggal <[email protected]>
119121
Tudor Pagu <[email protected]>
@@ -128,6 +130,7 @@ Vivek Maurya <[email protected]>
128130
Xiaochuan Ye <[email protected]>
129131
Yaswanth Kosuru <[email protected]>
130132
Yernar Yergaziyev <[email protected]>
133+
Yuvi Mittal <[email protected]>
131134
ekambains <[email protected]>
132135
olenkabilonizhka <[email protected]>
133136
pranav-1720 <[email protected]>

lib/node_modules/@stdlib/blas/base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ var o = blas;
8787
- <span class="signature">[`zaxpy( N, za, zx, strideX, zy, strideY )`][@stdlib/blas/base/zaxpy]</span><span class="delimiter">: </span><span class="description">scale a double-precision complex floating-point vector by a double-precision complex floating-point constant and add the result to a double-precision complex floating-point vector.</span>
8888
- <span class="signature">[`zcopy( N, x, strideX, y, strideY )`][@stdlib/blas/base/zcopy]</span><span class="delimiter">: </span><span class="description">copy values from one complex double-precision floating-point vector to another complex double-precision floating-point vector.</span>
8989
- <span class="signature">[`zdrot( N, zx, strideX, zy, strideY, c, s )`][@stdlib/blas/base/zdrot]</span><span class="delimiter">: </span><span class="description">applies a plane rotation.</span>
90-
- <span class="signature">[`zscal( N, za, zx, strideX )`][@stdlib/blas/base/zscal]</span><span class="delimiter">: </span><span class="description">scales a double-precision complex floating-point vector by a double-precision complex floating-point constant.</span>
90+
- <span class="signature">[`zscal( N, alpha, x, strideX )`][@stdlib/blas/base/zscal]</span><span class="delimiter">: </span><span class="description">scales a double-precision complex floating-point vector by a double-precision complex floating-point constant.</span>
9191
- <span class="signature">[`zswap( N, x, strideX, y, strideY )`][@stdlib/blas/base/zswap]</span><span class="delimiter">: </span><span class="description">interchange two complex double-precision floating-point vectors.</span>
9292

9393
</div>

lib/node_modules/@stdlib/blas/base/docs/types/index.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,30 +2126,30 @@ interface Namespace {
21262126
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant.
21272127
*
21282128
* @param N - number of indexed elements
2129-
* @param za - scalar constant
2130-
* @param zx - input array
2131-
* @param strideX - `zx` stride length
2129+
* @param alpha - scalar constant
2130+
* @param x - input array
2131+
* @param strideX - `x` stride length
21322132
* @returns input array
21332133
*
21342134
* @example
21352135
* var Complex128Array = require( '@stdlib/array/complex128' );
21362136
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
21372137
*
2138-
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
2139-
* var za = new Complex128( 2.0, 2.0 );
2138+
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
2139+
* var alpha = new Complex128( 2.0, 2.0 );
21402140
*
2141-
* ns.zscal( 3, za, zx, 1 );
2142-
* // zx => <Complex128Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
2141+
* ns.zscal( 3, alpha, x, 1 );
2142+
* // x => <Complex128Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
21432143
*
21442144
* @example
21452145
* var Complex128Array = require( '@stdlib/array/complex128' );
21462146
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
21472147
*
2148-
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
2149-
* var za = new Complex128( 2.0, 2.0 );
2148+
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
2149+
* var alpha = new Complex128( 2.0, 2.0 );
21502150
*
2151-
* ns.zscal.ndarray( 2, za, zx, 1, 1 );
2152-
* // zx => <Complex128Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
2151+
* ns.zscal.ndarray( 2, alpha, x, 1, 1 );
2152+
* // x => <Complex128Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
21532153
*/
21542154
zscal: typeof zscal;
21552155

lib/node_modules/@stdlib/blas/ext/base/gapx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ console.log( x );
145145
## See Also
146146

147147
- <span class="package-name">[`@stdlib/blas/ext/base/dapx`][@stdlib/blas/ext/base/dapx]</span><span class="delimiter">: </span><span class="description">add a scalar constant to each element in a double-precision floating-point strided array.</span>
148-
- <span class="package-name">[`@stdlib/blas/ext/base/sapx`][@stdlib/blas/ext/base/sapx]</span><span class="delimiter">: </span><span class="description">add a constant to each element in a single-precision floating-point strided array.</span>
148+
- <span class="package-name">[`@stdlib/blas/ext/base/sapx`][@stdlib/blas/ext/base/sapx]</span><span class="delimiter">: </span><span class="description">add a scalar constant to each element in a single-precision floating-point strided array.</span>
149149

150150
</section>
151151

lib/node_modules/@stdlib/blas/ext/base/ssort2ins/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,14 @@ stdlib_strided_ssort2ins( 4, 1.0f, x, 1, y, 1 );
231231
The function accepts the following arguments:
232232
233233
- **N**: `[in] CBLAS_INT` number of indexed elements.
234-
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `x` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `x` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
234+
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `X` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `X` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
235235
- **X**: `[inout] float*` first input array.
236236
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
237237
- **Y**: `[inout] float*` second input array.
238238
- **strideY**: `[in] CBLAS_INT` stride length for `Y`.
239239
240240
```c
241-
stdlib_strided_ssort2ins( const CBLAS_INT N, const float order, float *X, CBLAS_INT strideX, float *Y, CBLAS_INT strideY );
241+
stdlib_strided_ssort2ins( const CBLAS_INT N, const float order, float *X, const CBLAS_INT strideX, float *Y, const CBLAS_INT strideY );
242242
```
243243

244244
<!--lint disable maximum-heading-length-->
@@ -259,7 +259,7 @@ stdlib_strided_ssort2ins_ndarray( 4, 1.0f, x, 1, 0, y, 1, 0 );
259259
The function accepts the following arguments:
260260
261261
- **N**: `[in] CBLAS_INT` number of indexed elements.
262-
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `x` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `x` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
262+
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `X` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `X` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
263263
- **X**: `[inout] float*` first input array.
264264
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
265265
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
@@ -268,7 +268,7 @@ The function accepts the following arguments:
268268
- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
269269
270270
```c
271-
stdlib_strided_ssort2ins_ndarray( const CBLAS_INT N, const float order, float *X, CBLAS_INT strideX, CBLAS_INT offsetX, float *Y, CBLAS_INT strideY, CBLAS_INT offsetY );
271+
stdlib_strided_ssort2ins_ndarray( const CBLAS_INT N, const float order, float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, float *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY );
272272
```
273273

274274
</section>

lib/node_modules/@stdlib/blas/ext/base/ssort2ins/benchmark/c/benchmark.unsorted_random.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static double tic( void ) {
8282
*
8383
* @return random number
8484
*/
85-
static double rand_float( void ) {
85+
static float rand_float( void ) {
8686
int r = rand();
8787
return (float)r / ( (float)RAND_MAX + 1.0f );
8888
}

lib/node_modules/@stdlib/blas/ext/base/ssort2ins/src/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void API_SUFFIX(stdlib_strided_ssort2ins)( const CBLAS_INT N, const float order,
4141

4242

4343
/**
44-
* Simultaneously sorts two signle-precision floating-point strided arrays based on the sort order of the first array using insertion sort and alternative indexing semantics.
44+
* Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using insertion sort and alternative indexing semantics.
4545
*
4646
* @param N number of indexed elements
4747
* @param order sort order
@@ -52,7 +52,7 @@ void API_SUFFIX(stdlib_strided_ssort2ins)( const CBLAS_INT N, const float order,
5252
* @param strideY stride length for `Y`
5353
* @param offsetY starting index for `Y`
5454
*/
55-
void API_SUFFIX(stdlib_strided_ssort2ins_ndarray)( const CBLAS_INT N, const float order, float *X, CBLAS_INT strideX, CBLAS_INT offsetX, float *Y, CBLAS_INT strideY, CBLAS_INT offsetY ) {
55+
void API_SUFFIX(stdlib_strided_ssort2ins_ndarray)( const CBLAS_INT N, const float order, float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, float *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY ) {
5656
CBLAS_INT sx;
5757
CBLAS_INT sy;
5858
CBLAS_INT ox;
@@ -76,8 +76,8 @@ void API_SUFFIX(stdlib_strided_ssort2ins_ndarray)( const CBLAS_INT N, const floa
7676
}
7777
// For a positive stride, sorting in decreasing order is equivalent to providing a negative stride and sorting in increasing order, and, for a negative stride, sorting in decreasing order is equivalent to providing a positive stride and sorting in increasing order...
7878
if ( order < 0.0f ) {
79-
sx = strideX * -1;
80-
sy = strideY * -1;
79+
sx = -strideX;
80+
sy = -strideY;
8181
ox = offsetX - ( (N-1) * sx );
8282
oy = offsetY - ( (N-1) * sy );
8383
} else {

lib/node_modules/@stdlib/complex/float32/base/docs/types/index.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,25 @@ interface Namespace {
8585
*
8686
* var im = imagf( out );
8787
* // returns -1.0
88+
*
89+
* @example
90+
* var Float32Array = require( '@stdlib/array/float32' );
91+
*
92+
* var out = new Float32Array( 2 );
93+
* var v = ns.mul.assign( 5.0, 3.0, -2.0, 1.0, out, 1, 0 );
94+
* // returns <Float32Array>[ -13.0, -1.0 ]
95+
*
96+
* var bool = ( out === v );
97+
* // returns true
98+
*
99+
* @example
100+
* var Float32Array = require( '@stdlib/array/float32' );
101+
*
102+
* var z1 = new Float32Array( [ 5.0, 3.0 ] );
103+
* var z2 = new Float32Array( [ -2.0, 1.0 ] );
104+
*
105+
* var out = ns.mul.strided( z1, 1, 0, z2, 1, 0, new Float32Array( 2 ), 1, 0 );
106+
* // returns <Float32Array>[ -13.0, -1.0 ]
88107
*/
89108
mul: typeof mul;
90109
}

0 commit comments

Comments
 (0)