Skip to content

Commit 4b5eaf4

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into stats-array-max-by
2 parents fc1e303 + cdd2f1a commit 4b5eaf4

File tree

798 files changed

+197219
-1372
lines changed

Some content is hidden

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

798 files changed

+197219
-1372
lines changed

CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ Tanishq Ahuja <[email protected]>
172172
Tirtadwipa Manunggal <[email protected]>
173173
Tudor Pagu <[email protected]>
174174
Tufailahmed Bargir <[email protected]>
175+
Tushar Bhardwaj <[email protected]>
175176
Uday Kakade <[email protected]>
177+
Ujjwal Kirti <[email protected]>
176178
Utkarsh <http://[email protected]>
177179
Utkarsh Raj <[email protected]>
178180
UtkershBasnet <[email protected]>

etc/eslint/rules/spellcheck.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ rules[ '@cspell/spellchecker' ] = [ 'warn', {
115115
'tricube',
116116
'trigamma',
117117
'uncapitalize',
118-
'unregularized'
118+
'unregularized',
119+
'Fréchet'
119120
]
120121
}
121122
}];

lib/node_modules/@stdlib/array/base/banded/filled2d-by/benchmark/benchmark.size.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function main() {
9696
for ( i = min; i <= max; i++ ) {
9797
N = floor( sqrt( pow( 10, i ) ) );
9898

99-
f = createBenchmark( N, k );
99+
f = createBenchmark( N, k, k );
100100
bench( pkg+':ku='+k+',kl='+k+',size='+(N*N), f );
101101
}
102102
}

lib/node_modules/@stdlib/array/base/banded/filled2d-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type Nullary<T, V> = ( this: V ) => T;
3535
* @param indices - current array element indices
3636
* @returns fill value
3737
*/
38-
type Unary<T, V> = ( this: V, indices: Array<number> ) => T;
38+
type Unary<T, V> = ( this: V, indices: [ number, number ] ) => T;
3939

4040
/**
4141
* Callback function.

lib/node_modules/@stdlib/array/base/symmetric-banded/filled2d-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Nullary<T, V> = ( this: V ) => T;
3131
* @param indices - current array element indices
3232
* @returns fill value
3333
*/
34-
type Unary<T, V> = ( this: V, indices: Array<number> ) => T;
34+
type Unary<T, V> = ( this: V, indices: [ number, number ] ) => T;
3535

3636
/**
3737
* Callback function.

lib/node_modules/@stdlib/array/base/symmetric/filled2d-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Nullary<T, V> = ( this: V ) => T;
3131
* @param indices - current array element indices
3232
* @returns fill value
3333
*/
34-
type Unary<T, V> = ( this: V, indices: Array<number> ) => T;
34+
type Unary<T, V> = ( this: V, indices: [ number, number ] ) => T;
3535

3636
/**
3737
* Callback function.

lib/node_modules/@stdlib/assert/is-arraybuffer-view/lib/polyfill.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ var isDataView = require( '@stdlib/assert/is-dataview' );
3939
*
4040
* @example
4141
* var Int8Array = require( '@stdlib/array/int8' );
42+
*
4243
* var bool = isArrayBufferView( new Int8Array( 10 ) );
4344
* // returns true
4445
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ int main( void ) {
181181

182182
- <span class="package-name">[`@stdlib/math/base/special/ceil`][@stdlib/math/base/special/ceil]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number toward positive infinity.</span>
183183
- <span class="package-name">[`@stdlib/math/base/special/floorsd`][@stdlib/math/base/special/floorsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number toward negative infinity with N significant figures.</span>
184-
- <span class="package-name">[`@stdlib/math/base/special/roundsd`][@stdlib/math/base/special/roundsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number with N significant figures.</span>
184+
- <span class="package-name">[`@stdlib/math/base/special/roundsd`][@stdlib/math/base/special/roundsd]</span><span class="delimiter">: </span><span class="description">round a double-precision floating-point number to the nearest value with N significant figures.</span>
185185
- <span class="package-name">[`@stdlib/math/base/special/truncsd`][@stdlib/math/base/special/truncsd]</span><span class="delimiter">: </span><span class="description">round a numeric value to the nearest number toward zero with N significant figures.</span>
186186

187187
</section>
Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
11
{
2-
"options": {
3-
"task": "build"
4-
},
5-
"fields": [
6-
{
7-
"field": "src",
8-
"resolve": true,
9-
"relative": true
10-
},
11-
{
12-
"field": "include",
13-
"resolve": true,
14-
"relative": true
15-
},
16-
{
17-
"field": "libraries",
18-
"resolve": false,
19-
"relative": false
20-
},
21-
{
22-
"field": "libpath",
23-
"resolve": true,
24-
"relative": false
25-
}
26-
],
27-
"confs": [
28-
{
29-
"task": "build",
30-
"src": [
31-
"./src/dtrunc.c"
32-
],
33-
"include": [
34-
"./include"
35-
],
36-
"libraries": [],
37-
"libpath": [],
38-
"dependencies": [
39-
"@stdlib/math/base/special/trunc",
40-
"@stdlib/strided/base/dmap",
41-
"@stdlib/strided/napi/dmap"
42-
]
43-
},
44-
{
45-
"task": "examples",
46-
"src": [
47-
"./src/dtrunc.c"
48-
],
49-
"include": [
50-
"./include"
51-
],
52-
"libraries": [],
53-
"libpath": [],
54-
"dependencies": [
55-
"@stdlib/math/base/special/trunc",
56-
"@stdlib/strided/base/dmap"
57-
]
58-
},
59-
{
60-
"task": "benchmark",
61-
"src": [
62-
"./src/dtrunc.c"
63-
],
64-
"include": [
65-
"./include"
66-
],
67-
"libraries": [],
68-
"libpath": [],
69-
"dependencies": [
70-
"@stdlib/math/base/special/trunc",
71-
"@stdlib/strided/base/dmap"
72-
]
73-
}
74-
]
2+
"options": {
3+
"task": "build"
4+
},
5+
"fields": [
6+
{
7+
"field": "src",
8+
"resolve": true,
9+
"relative": true
10+
},
11+
{
12+
"field": "include",
13+
"resolve": true,
14+
"relative": true
15+
},
16+
{
17+
"field": "libraries",
18+
"resolve": false,
19+
"relative": false
20+
},
21+
{
22+
"field": "libpath",
23+
"resolve": true,
24+
"relative": false
25+
}
26+
],
27+
"confs": [
28+
{
29+
"task": "build",
30+
"src": [
31+
"./src/dtrunc.c"
32+
],
33+
"include": [
34+
"./include"
35+
],
36+
"libraries": [],
37+
"libpath": [],
38+
"dependencies": [
39+
"@stdlib/math/base/special/trunc",
40+
"@stdlib/strided/base/dmap",
41+
"@stdlib/strided/napi/dmap"
42+
]
43+
},
44+
{
45+
"task": "examples",
46+
"src": [
47+
"./src/dtrunc.c"
48+
],
49+
"include": [
50+
"./include"
51+
],
52+
"libraries": [],
53+
"libpath": [],
54+
"dependencies": [
55+
"@stdlib/math/base/special/trunc",
56+
"@stdlib/strided/base/dmap"
57+
]
58+
},
59+
{
60+
"task": "benchmark",
61+
"src": [
62+
"./src/dtrunc.c"
63+
],
64+
"include": [
65+
"./include"
66+
],
67+
"libraries": [],
68+
"libpath": [],
69+
"dependencies": [
70+
"@stdlib/math/base/special/trunc",
71+
"@stdlib/strided/base/dmap"
72+
]
73+
}
74+
]
7575
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ var o = ns;
6060
- <span class="signature">[`bytesPerElement( dtype )`][@stdlib/ndarray/base/bytes-per-element]</span><span class="delimiter">: </span><span class="description">return the number of bytes per element provided an underlying array data type.</span>
6161
- <span class="signature">[`char2dtype( [ch] )`][@stdlib/ndarray/base/char2dtype]</span><span class="delimiter">: </span><span class="description">return the data type string associated with a provided single letter character abbreviation.</span>
6262
- <span class="signature">[`clampIndex( idx, max )`][@stdlib/ndarray/base/clamp-index]</span><span class="delimiter">: </span><span class="description">restrict an index to the interval `[0,max]`.</span>
63+
- <span class="signature">[`countFalsy( arrays )`][@stdlib/ndarray/base/count-falsy]</span><span class="delimiter">: </span><span class="description">count the number of falsy elements in an ndarray.</span>
64+
- <span class="signature">[`countTruthy( arrays )`][@stdlib/ndarray/base/count-truthy]</span><span class="delimiter">: </span><span class="description">count the number of truthy elements in an ndarray.</span>
6365
- <span class="signature">[`ndarray( dtype, buffer, shape, strides, offset, order )`][@stdlib/ndarray/base/ctor]</span><span class="delimiter">: </span><span class="description">create a multidimensional array.</span>
6466
- <span class="signature">[`data( x )`][@stdlib/ndarray/base/data-buffer]</span><span class="delimiter">: </span><span class="description">return the underlying data buffer of a provided ndarray.</span>
6567
- <span class="signature">[`dtypeChar( [dtype] )`][@stdlib/ndarray/base/dtype-char]</span><span class="delimiter">: </span><span class="description">return the single letter abbreviation for an underlying array data type.</span>
@@ -153,6 +155,7 @@ var o = ns;
153155
- <span class="signature">[`unaryReduceStrided1dDispatchFactory( table, idtypes, odtypes, policies )`][@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-factory]</span><span class="delimiter">: </span><span class="description">create a function for performing a reduction on an input ndarray.</span>
154156
- <span class="signature">[`unaryReduceStrided1dDispatch( table, idtypes, odtypes, policies )`][@stdlib/ndarray/base/unary-reduce-strided1d-dispatch]</span><span class="delimiter">: </span><span class="description">constructor for performing a reduction on an input ndarray.</span>
155157
- <span class="signature">[`unaryReduceStrided1d( fcn, arrays, dims[, options] )`][@stdlib/ndarray/base/unary-reduce-strided1d]</span><span class="delimiter">: </span><span class="description">perform a reduction over a list of specified dimensions in an input ndarray via a one-dimensional strided array reduction function and assign results to a provided output ndarray.</span>
158+
- <span class="signature">[`unaryReduceSubarrayBy( fcn, arrays, dims[, options], clbk[, thisArg] )`][@stdlib/ndarray/base/unary-reduce-subarray-by]</span><span class="delimiter">: </span><span class="description">perform a reduction over a list of specified dimensions in an input ndarray according to a callback function and assign results to a provided output ndarray.</span>
156159
- <span class="signature">[`unaryReduceSubarray( fcn, arrays, dims[, options] )`][@stdlib/ndarray/base/unary-reduce-subarray]</span><span class="delimiter">: </span><span class="description">perform a reduction over a list of specified dimensions in an input ndarray and assign results to a provided output ndarray.</span>
157160
- <span class="signature">[`unaryStrided1dDispatchFactory( table, idtypes, odtypes, policies[, options] )`][@stdlib/ndarray/base/unary-strided1d-dispatch-factory]</span><span class="delimiter">: </span><span class="description">create a function for applying a strided function an input ndarray.</span>
158161
- <span class="signature">[`unaryStrided1dDispatch( table, idtypes, odtypes, policies[, options] )`][@stdlib/ndarray/base/unary-strided1d-dispatch]</span><span class="delimiter">: </span><span class="description">constructor for applying a strided function to an input ndarray.</span>
@@ -253,6 +256,10 @@ console.log( objectKeys( ns ) );
253256

254257
[@stdlib/ndarray/base/clamp-index]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/clamp-index
255258

259+
[@stdlib/ndarray/base/count-falsy]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/count-falsy
260+
261+
[@stdlib/ndarray/base/count-truthy]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/count-truthy
262+
256263
[@stdlib/ndarray/base/ctor]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/ctor
257264

258265
[@stdlib/ndarray/base/data-buffer]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/data-buffer
@@ -439,6 +446,8 @@ console.log( objectKeys( ns ) );
439446

440447
[@stdlib/ndarray/base/unary-reduce-strided1d]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/unary-reduce-strided1d
441448

449+
[@stdlib/ndarray/base/unary-reduce-subarray-by]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/unary-reduce-subarray-by
450+
442451
[@stdlib/ndarray/base/unary-reduce-subarray]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/unary-reduce-subarray
443452

444453
[@stdlib/ndarray/base/unary-strided1d-dispatch-factory]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/ndarray/base/unary-strided1d-dispatch-factory

0 commit comments

Comments
 (0)