Skip to content

Commit ea3996c

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents c1db3c5 + 379c3c6 commit ea3996c

File tree

428 files changed

+17387
-1982
lines changed

Some content is hidden

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

428 files changed

+17387
-1982
lines changed

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Chinmay Joshi <[email protected]> Chinmay J
5555
5656
Debashis Maharana <[email protected]> DebashisMaharana
5757

58+
Deepak Singh <[email protected]>
59+
5860
Dhruv Arvind Singh <[email protected]> DhruvArvindSingh
5961
Dhruv Arvind Singh <[email protected]> Dhruv/
6062

CONTRIBUTORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ Ali Salesi <[email protected]>
2121
AlyAbdelmoneim <[email protected]>
2222
Aman Bhansali <[email protected]>
2323
AmanBhadkariya <[email protected]>
24+
Amisha Chhajed <[email protected]>
2425
Amit Jimiwal <[email protected]>
2526
Annamalai Prabu <[email protected]>
2627
Anshu Kumar <[email protected]>
2728
Anshu Kumar <[email protected]>
2829
Anudeep Sanapala <[email protected]>
30+
Aryan Bhirud <[email protected]>
2931
Athan Reines <[email protected]>
3032
3133
Bhavishy Agrawal <[email protected]>
@@ -93,6 +95,7 @@ Krishnam Agarwal <[email protected]>
9395
Krishnendu Das <[email protected]>
9496
Kshitij-Dale <[email protected]>
9597
Lalit Narayan Yadav <[email protected]>
98+
Lokesh Ranjan <[email protected]>
9699
Lovelin Dhoni J B <[email protected]>
97100
98101
Mahfuza Humayra Mohona <[email protected]>

lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/cmd.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@
2929
* @returns {string} command
3030
*/
3131
function cmd( src, dest, opts ) {
32-
var out;
33-
out = new Array( 8 );
34-
out[ 0 ] = 'pandoc';
35-
out[ 1 ] = '--filter=pandoc-citeproc';
36-
out[ 2 ] = '--from=markdown';
37-
out[ 3 ] = '--to=markdown_github';
38-
out[ 4 ] = '--bibliography='+opts.database;
39-
out[ 5 ] = '--csl='+opts.csl;
40-
out[ 6 ] = '--output=' + dest;
41-
out[ 7 ] = src;
32+
var out = [];
33+
out.push( 'pandoc' );
34+
out.push( '--filter=pandoc-citeproc' );
35+
out.push( '--from=markdown' );
36+
out.push( '--to=markdown_github' );
37+
out.push( '--bibliography='+opts.database );
38+
out.push( '--csl='+opts.csl );
39+
out.push( '--output=' + dest );
40+
out.push( src );
4241
return out.join( ' ' );
4342
}
4443

lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ function plugin( dir, cwd ) {
4040
opts.cwd = dir;
4141
opts.stdio = 'inherit';
4242

43-
args = new Array( 2 );
43+
args = [];
4444

4545
// Environment variables:
46-
args[ 0 ] = 'REPL_DIR='+cwd;
46+
args.push( 'REPL_DIR='+cwd );
4747

4848
// Target:
49-
args[ 1 ] = 'repl';
49+
args.push( 'repl' );
5050

5151
spawn( 'make', args, opts );
5252
}

lib/node_modules/@stdlib/lapack/base/sge-trans/test/test.ndarray.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ tape( 'the function supports specifying the strides of the first and second dime
459459

460460
/* eslint-disable array-element-newline, no-multi-spaces, no-mixed-spaces-and-tabs */
461461

462+
// editorconfig-checker-disable
463+
462464
A = new Float32Array([
463465
1, 999, 2, 999, 3, 999,
464466
999, 999, 999, 999, 999, 999,
@@ -470,6 +472,8 @@ tape( 'the function supports specifying the strides of the first and second dime
470472
999, 999, 999, 999, 999, 999
471473
]);
472474

475+
// editorconfig-checker-enable
476+
473477
/* eslint-enable array-element-newline, no-multi-spaces, no-mixed-spaces-and-tabs */
474478

475479
out = new Float32Array( M*N );

lib/node_modules/@stdlib/math/base/special/coversinf/package.json

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,90 @@
7171
"trigonometry",
7272
"radians",
7373
"angle"
74-
]
74+
],
75+
"__stdlib__": {
76+
"scaffold": {
77+
"$schema": "math/[email protected]",
78+
"base_alias": "coversin",
79+
"alias": "coversinf",
80+
"pkg_desc": "compute the coversed sine of a single-precision floating-point number (in radians)",
81+
"desc": "computes the coversed sine of a single-precision floating-point number (in radians)",
82+
"short_desc": "coversed sine",
83+
"parameters": [
84+
{
85+
"name": "x",
86+
"desc": "input value (in radians)",
87+
"type": {
88+
"javascript": "number",
89+
"jsdoc": "number",
90+
"c": "float",
91+
"dtype": "float32"
92+
},
93+
"domain": [
94+
{
95+
"min": "-infinity",
96+
"max": "infinity"
97+
}
98+
],
99+
"rand": {
100+
"prng": "random/base/uniform",
101+
"parameters": [
102+
-10,
103+
10
104+
]
105+
},
106+
"example_values": [
107+
64,
108+
27,
109+
0,
110+
0.1,
111+
-9,
112+
8,
113+
-1,
114+
125,
115+
-10.2,
116+
11.3,
117+
-12.4,
118+
3.5,
119+
-1.6,
120+
15.7,
121+
-16,
122+
17.9,
123+
-188,
124+
19.11,
125+
-200,
126+
21.15
127+
]
128+
}
129+
],
130+
"output_policy": "real_floating_point_and_generic",
131+
"returns": {
132+
"desc": "coversed sine",
133+
"type": {
134+
"javascript": "number",
135+
"jsdoc": "number",
136+
"c": "float",
137+
"dtype": "float32"
138+
}
139+
},
140+
"keywords": [
141+
"coversin",
142+
"coversinf",
143+
"coversine",
144+
"coversed",
145+
"coversinus",
146+
"covers",
147+
"cosiv",
148+
"cvs",
149+
"versed",
150+
"sine",
151+
"sin",
152+
"trig",
153+
"trigonometry",
154+
"radians",
155+
"angle"
156+
],
157+
"extra_keywords": []
158+
}
159+
}
75160
}

lib/node_modules/@stdlib/math/base/special/cpolar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The function accepts the following arguments:
148148
- **cphase**: `[out] double*` destination for the phase value in radians.
149149
150150
```c
151-
double stdlib_base_cpolar( const stdlib_complex128_t z, double *cabs, double *cphase );
151+
void stdlib_base_cpolar( const stdlib_complex128_t z, double *cabs, double *cphase );
152152
```
153153

154154
</section>

lib/node_modules/@stdlib/math/base/special/cpolar/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ interface Cpolar {
3939
* var v = cpolar( new Complex128( 5.0, 3.0 ) );
4040
* // returns [ ~5.83, ~0.5404 ]
4141
*/
42-
( z: Complex128 ): Array<number>;
42+
( z: Complex128 ): [ number, number ];
4343

4444
/**
4545
* Computes the absolute value and the phase of a double-precision complex floating-point number and assigns results to a provided output array.

lib/node_modules/@stdlib/math/base/special/cpolar/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import cpolar = require( './index' );
2424

2525
// The function returns an array of numbers...
2626
{
27-
cpolar( new Complex128( 5.0, 3.0 ) ); // $ExpectType number[]
27+
cpolar( new Complex128( 5.0, 3.0 ) ); // $ExpectType [number, number]
2828
}
2929

3030
// The compiler throws an error if the function is provided a complex number...

lib/node_modules/@stdlib/math/base/special/csc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Evaluates the [cosecant][trigonometric-functions] of `x` (in radians).
117117
double out = stdlib_base_csc( 0.0 );
118118
// returns Infinity
119119

120-
out = stdlib_base_cos( 3.141592653589793 / 2.0 );
120+
out = stdlib_base_csc( 3.141592653589793 / 2.0 );
121121
// returns 1.0
122122
```
123123

0 commit comments

Comments
 (0)