Skip to content

Commit 3d93c6a

Browse files
authored
Merge branch 'develop' into fix-issue-5895
Signed-off-by: Akash shukla <[email protected]>
2 parents 73287e3 + 40b4245 commit 3d93c6a

File tree

471 files changed

+22394
-2314
lines changed

Some content is hidden

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

471 files changed

+22394
-2314
lines changed

.github/workflows/scripts/rate_limit_contributions

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,17 @@ main() {
123123
pr_details=$(github_api "GET" "/repos/${repo_owner}/${repo_name}/pulls/${pr_number}")
124124
good_first_pr=$(echo "${pr_details}" | jq -r '.labels | any(.name == "Good First PR")')
125125

126+
# Check if the PR is labeled "Good First PR":
127+
if [ "${good_first_pr}" != "true" ]; then
128+
echo "PR is not labeled 'Good First PR'."
129+
print_success
130+
exit 0
131+
fi
132+
126133
pr_author=$(echo "${pr_details}" | jq -r '.user.login')
127134

128135
# Fetch other PRs of the same user:
129-
user_prs=$(github_api "GET" "/search/issues?q=state%3Aopen+author%3A${pr_author}+type%3Apr")
136+
user_prs=$(github_api "GET" "/search/issues?q=repo%3A${repo_owner}%2F${repo_name}+state%3Aopen+author%3A${pr_author}+type%3Apr")
130137

131138
# Count number of PRs labeled "Good First PR":
132139
num_good_first_prs=$(echo "${user_prs}" | jq -r '.items | map( select( .labels | any( .name == "Good First PR" ))) | length')

CONTRIBUTORS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ Aksshay Balasubramanian <[email protected]>
1717
Aleksandr <[email protected]>
1818
Ali Salesi <[email protected]>
1919
Aman Bhansali <[email protected]>
20+
AmanBhadkariya <[email protected]>
2021
Amit Jimiwal <[email protected]>
22+
Anshu Kumar <[email protected]>
23+
Anshu Kumar <[email protected]>
2124
Anudeep Sanapala <[email protected]>
2225
Athan Reines <[email protected]>
2326
@@ -32,6 +35,7 @@ Daniel Yu <[email protected]>
3235
Debashis Maharana <[email protected]>
3336
Desh Deepak Kant <[email protected]>
3437
38+
Dhanyabad behera <[email protected]>
3539
Dhruv Arvind Singh <[email protected]>
3640
Dhruvil Mehta <[email protected]>
3741
Divyansh Seth <[email protected]>
@@ -46,11 +50,14 @@ Gautam sharma <[email protected]>
4650
Golden Kumar <[email protected]>
4751
Gunj Joshi <[email protected]>
4852
Gururaj Gurram <[email protected]>
53+
Haroon Rasheed <[email protected]>
4954
5055
5156
Harshita Kalani <[email protected]>
57+
Hemant M Mehta <[email protected]>
5258
Hridyanshu <[email protected]>
5359
Jaimin Godhani <[email protected]>
60+
Jaison D Souza <[email protected]>
5461
Jalaj Kumar <[email protected]>
5562
James Gelok <[email protected]>
5663
Jaysukh Makvana <[email protected]>
Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"E": "@stdlib/constants/float64/e",
3-
"LN2": "@stdlib/constants/float64/ln-two",
4-
"LN10": "@stdlib/constants/float64/ln-ten",
5-
"LOG2E": "@stdlib/constants/float64/log2-e",
6-
"LOG10E": "@stdlib/constants/float64/log10-e",
7-
"PI": "@stdlib/constants/float64/pi",
8-
"SQRT1_2": "@stdlib/constants/float64/sqrt-half",
9-
"SQRT2": "@stdlib/constants/float64/sqrt-two",
10-
"abs": "@stdlib/math/base/special/abs",
11-
"acos": "@stdlib/math/base/special/acos",
12-
"acosh": "@stdlib/math/base/special/acosh",
13-
"asin": "@stdlib/math/base/special/asin",
14-
"asinh": "@stdlib/math/base/special/asinh",
15-
"atan": "@stdlib/math/base/special/atan",
16-
"atanh": "@stdlib/math/base/special/atanh",
17-
"atan2": "@stdlib/math/base/special/atan2",
18-
"cbrt": "@stdlib/math/base/special/cbrt",
19-
"ceil": "@stdlib/math/base/special/ceil",
20-
"cos": "@stdlib/math/base/special/cos",
21-
"cosh": "@stdlib/math/base/special/cosh",
22-
"exp": "@stdlib/math/base/special/exp",
23-
"expm1": "@stdlib/math/base/special/expm1",
24-
"floor": "@stdlib/math/base/special/floor",
25-
"fround": "@stdlib/number/float64/base/to-float32",
26-
"hypot": "@stdlib/math/base/special/hypot",
27-
"imul": "@stdlib/math/base/ops/imul",
28-
"log": "@stdlib/math/base/special/ln",
29-
"log1p": "@stdlib/math/base/special/log1p",
30-
"log10": "@stdlib/math/base/special/log10",
31-
"log2": "@stdlib/math/base/special/log2",
32-
"max": "@stdlib/math/base/special/max",
33-
"min": "@stdlib/math/base/special/min",
34-
"pow": "@stdlib/math/base/special/pow",
35-
"random": "@stdlib/random/base/randu",
36-
"round": "@stdlib/math/base/special/round",
37-
"sign": "@stdlib/math/base/special/signum",
38-
"sin": "@stdlib/math/base/special/sin",
39-
"sinh": "@stdlib/math/base/special/sinh",
40-
"sqrt": "@stdlib/math/base/special/sqrt",
41-
"tan": "@stdlib/math/base/special/tan",
42-
"tanh": "@stdlib/math/base/special/tanh",
43-
"trunc": "@stdlib/math/base/special/trunc"
2+
"E": "@stdlib/constants/float64/e",
3+
"LN2": "@stdlib/constants/float64/ln-two",
4+
"LN10": "@stdlib/constants/float64/ln-ten",
5+
"LOG2E": "@stdlib/constants/float64/log2-e",
6+
"LOG10E": "@stdlib/constants/float64/log10-e",
7+
"PI": "@stdlib/constants/float64/pi",
8+
"SQRT1_2": "@stdlib/constants/float64/sqrt-half",
9+
"SQRT2": "@stdlib/constants/float64/sqrt-two",
10+
"abs": "@stdlib/math/base/special/abs",
11+
"acos": "@stdlib/math/base/special/acos",
12+
"acosh": "@stdlib/math/base/special/acosh",
13+
"asin": "@stdlib/math/base/special/asin",
14+
"asinh": "@stdlib/math/base/special/asinh",
15+
"atan": "@stdlib/math/base/special/atan",
16+
"atanh": "@stdlib/math/base/special/atanh",
17+
"atan2": "@stdlib/math/base/special/atan2",
18+
"cbrt": "@stdlib/math/base/special/cbrt",
19+
"ceil": "@stdlib/math/base/special/ceil",
20+
"cos": "@stdlib/math/base/special/cos",
21+
"cosh": "@stdlib/math/base/special/cosh",
22+
"exp": "@stdlib/math/base/special/exp",
23+
"expm1": "@stdlib/math/base/special/expm1",
24+
"floor": "@stdlib/math/base/special/floor",
25+
"fround": "@stdlib/number/float64/base/to-float32",
26+
"hypot": "@stdlib/math/base/special/hypot",
27+
"imul": "@stdlib/number/int32/base/mul",
28+
"log": "@stdlib/math/base/special/ln",
29+
"log1p": "@stdlib/math/base/special/log1p",
30+
"log10": "@stdlib/math/base/special/log10",
31+
"log2": "@stdlib/math/base/special/log2",
32+
"max": "@stdlib/math/base/special/max",
33+
"min": "@stdlib/math/base/special/min",
34+
"pow": "@stdlib/math/base/special/pow",
35+
"random": "@stdlib/random/base/randu",
36+
"round": "@stdlib/math/base/special/round",
37+
"sign": "@stdlib/math/base/special/signum",
38+
"sin": "@stdlib/math/base/special/sin",
39+
"sinh": "@stdlib/math/base/special/sinh",
40+
"sqrt": "@stdlib/math/base/special/sqrt",
41+
"tan": "@stdlib/math/base/special/tan",
42+
"tanh": "@stdlib/math/base/special/tanh",
43+
"trunc": "@stdlib/math/base/special/trunc"
4444
}

lib/node_modules/@stdlib/_tools/eslint/rules/no-builtin-math/test/fixtures/invalid.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
'use strict';
2020

2121
var invalid = [];
22-
var test;
2322

24-
test = {
23+
var test = {
2524
'code': [
2625
'// VARIABLES //',
2726
'',
@@ -91,6 +90,21 @@ test = {
9190
};
9291
invalid.push( test );
9392

93+
test = {
94+
'code': [
95+
'// VARIABLES //',
96+
'',
97+
'var out = Math.imul( -5, 12 );'
98+
].join( '\n' ),
99+
'errors': [
100+
{
101+
'message': 'Use the package `@stdlib/number/int32/base/mul` instead of `Math.imul`',
102+
'type': 'MemberExpression'
103+
}
104+
]
105+
};
106+
invalid.push( test );
107+
94108

95109
// EXPORTS //
96110

lib/node_modules/@stdlib/_tools/eslint/rules/no-builtin-math/test/fixtures/unvalidated.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
'use strict';
2020

2121
var valid = [];
22-
var test;
2322

24-
test = {
23+
var test = {
2524
'code': [
2625
'// VARIABLES //',
2726
'',

lib/node_modules/@stdlib/_tools/eslint/rules/no-builtin-math/test/fixtures/valid.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
'use strict';
2020

2121
var valid = [];
22-
var test;
2322

24-
test = {
23+
var test = {
2524
'code': [
2625
'// VARIABLES //',
2726
'',
@@ -52,7 +51,7 @@ test = {
5251
'code': [
5352
'// VARIABLES //',
5453
'',
55-
'var out = Math.imul( -5, 12 );' // TODO: remove once an equivalent to `Math.imul` is present in the project
54+
'var out = imul( -5, 12 );'
5655
].join( '\n' )
5756
};
5857
valid.push( test );

lib/node_modules/@stdlib/array/filled/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function filledAccessors( arr, value ) {
100100
* @throws {TypeError} must provide a recognized data type
101101
* @throws {TypeError} must provide a length, typed array, array-like object, buffer, or iterable
102102
* @throws {Error} creating a generic array from an `ArrayBuffer` is not supported
103-
* @returns {(TypedArray|Array|ComplexArray)} array or typed array
103+
* @returns {(TypedArray|Array|Complex64Array)} array or typed array
104104
*
105105
* @example
106106
* var arr = filledarray();

lib/node_modules/@stdlib/assert/is-electron-main/lib/process.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818

1919
'use strict';
2020

21+
// MODULES //
22+
23+
var process = require( 'process' );
24+
25+
2126
// EXPORTS //
2227

2328
module.exports = process;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ var z = gdot.ndarray( 3, x, 2, 1, y, -1, y.length-1 );
137137

138138
- If `N <= 0` both functions return `0.0`.
139139
- `gdot()` corresponds to the [BLAS][blas] level 1 function [`ddot`][ddot] with the exception that this implementation works with any array type, not just Float64Arrays. Depending on the environment, the typed versions ([`ddot`][@stdlib/blas/base/ddot], [`sdot`][@stdlib/blas/base/sdot], etc.) are likely to be significantly more performant.
140+
- Both functions support array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array/base/accessor`][@stdlib/array/base/accessor]).
140141

141142
</section>
142143

@@ -199,6 +200,8 @@ console.log( out );
199200

200201
[mdn-typed-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
201202

203+
[@stdlib/array/base/accessor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/accessor
204+
202205
[@stdlib/blas/base/ddot]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/base/ddot
203206

204207
[@stdlib/blas/base/sdot]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/base/sdot

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { NumericArray } from '@stdlib/types/array';
23+
import { NumericArray, Collection, AccessorArrayLike } from '@stdlib/types/array';
24+
25+
/**
26+
* Input array.
27+
*/
28+
type InputArray = NumericArray | Collection<number> | AccessorArrayLike<number>;
2429

2530
/**
2631
* Interface describing `gdot`.
@@ -43,7 +48,7 @@ interface Routine {
4348
* var z = gdot( x.length, x, 1, y, 1 );
4449
* // returns -5.0
4550
*/
46-
( N: number, x: NumericArray, strideX: number, y: NumericArray, strideY: number ): number;
51+
( N: number, x: InputArray, strideX: number, y: InputArray, strideY: number ): number;
4752

4853
/**
4954
* Computes the dot product of two vectors using alternative indexing semantics.
@@ -64,7 +69,7 @@ interface Routine {
6469
* var z = gdot.ndarray( x.length, x, 1, 0, y, 1, 0 );
6570
* // returns -5.0
6671
*/
67-
ndarray( N: number, x: NumericArray, strideX: number, offsetX: number, y: NumericArray, strideY: number, offsetY: number ): number;
72+
ndarray( N: number, x: InputArray, strideX: number, offsetX: number, y: InputArray, strideY: number, offsetY: number ): number;
6873
}
6974

7075
/**

0 commit comments

Comments
 (0)