Skip to content

Commit 58bcc08

Browse files
committed
Auto-generated commit
1 parent 60a7ce8 commit 58bcc08

File tree

31 files changed

+137
-42
lines changed

31 files changed

+137
-42
lines changed

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3796,12 +3796,6 @@ A total of 586 issues were closed in this release:
37963796

37973797
<details>
37983798

3799-
- [`71a93c8`](https://github.com/stdlib-js/stdlib/commit/71a93c88b8f794e067e62bfb86e0e549c3b27a0b) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/dcuminabs` [(#11526)](https://github.com/stdlib-js/stdlib/pull/11526) _(by Uday Kakade)_
3800-
- [`adc6eb6`](https://github.com/stdlib-js/stdlib/commit/adc6eb6b331959b7123e4fb9598450496b980425) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/dcumxabs` [(#11525)](https://github.com/stdlib-js/stdlib/pull/11525) _(by Uday Kakade)_
3801-
- [`d5dc0ec`](https://github.com/stdlib-js/stdlib/commit/d5dc0ec5e07a3490a539f33c9723df8ddcb20ae9) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/dcumax` [(#11524)](https://github.com/stdlib-js/stdlib/pull/11524) _(by Uday Kakade)_
3802-
- [`9e562a3`](https://github.com/stdlib-js/stdlib/commit/9e562a3d9c9650d384bb6a3f8966a0c7e1c6a307) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/cumin` [(#11523)](https://github.com/stdlib-js/stdlib/pull/11523) _(by Uday Kakade)_
3803-
- [`a19ed4c`](https://github.com/stdlib-js/stdlib/commit/a19ed4c1ebd7a8e2124665cf5b9442e7e970eb19) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/cumax` [(#11522)](https://github.com/stdlib-js/stdlib/pull/11522) _(by Uday Kakade)_
3804-
- [`00385f6`](https://github.com/stdlib-js/stdlib/commit/00385f618ba07beba4fa4be45feee0f55591aa5f) - **docs:** improve doctests for ndarray instances in `stats/base/ndarray/dcumin` [(#11521)](https://github.com/stdlib-js/stdlib/pull/11521) _(by Uday Kakade)_
38053799
- [`2505815`](https://github.com/stdlib-js/stdlib/commit/25058156cf7b1138c5c33209a5143100c376b46d) - **docs:** update namespace table of contents [(#11520)](https://github.com/stdlib-js/stdlib/pull/11520) _(by stdlib-bot)_
38063800
- [`e616ec3`](https://github.com/stdlib-js/stdlib/commit/e616ec3c2b724c7b94937c8b892f54d5ef437719) - **docs:** capitalize `Pearson` and close backtick in `stats/strided/dpcorrwd` [(#11515)](https://github.com/stdlib-js/stdlib/pull/11515) _(by Philipp Burckhardt)_
38073801
- [`d3427df`](https://github.com/stdlib-js/stdlib/commit/d3427df39ee3407e76b32095ec622edf1c7d084e) - **remove:** remove `stats/strided/nancount` _(by Athan Reines)_

base/ndarray/cumax/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ var cumax = require( '@stdlib/stats/base/ndarray/cumax' );
4141
Computes the cumulative maximum value of a one-dimensional ndarray.
4242

4343
```javascript
44+
var ndarray2array = require( '@stdlib/ndarray/to-array' );
4445
var ndarray = require( '@stdlib/ndarray/base/ctor' );
4546

4647
var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
@@ -50,10 +51,13 @@ var ybuf = [ 0.0, 0.0, 0.0, 0.0 ];
5051
var y = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
5152

5253
var v = cumax( [ x, y ] );
53-
// returns <ndarray>[ 1.0, 3.0, 4.0, 4.0 ]
54+
// returns <ndarray>
5455

5556
var bool = ( v === y );
5657
// returns true
58+
59+
var arr = ndarray2array( v );
60+
// returns [ 1.0, 3.0, 4.0, 4.0 ]
5761
```
5862

5963
The function has the following parameters:

base/ndarray/cumax/docs/repl.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
> var ord = 'row-major';
2828
> var x = new {{alias:@stdlib/ndarray/ctor}}( dt, xbuf, sh, st, oo, ord );
2929
> var y = new {{alias:@stdlib/ndarray/ctor}}( dt, ybuf, sh, st, oo, ord );
30-
> {{alias}}( [ x, y ] )
31-
<ndarray>[ 1.0, 1.0, 2.0 ]
30+
> {{alias}}( [ x, y ] );
31+
> {{alias:@stdlib/ndarray/to-array}}( y )
32+
[ 1.0, 1.0, 2.0 ]
3233

3334
See Also
3435
--------

base/ndarray/cumax/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { ndarray, typedndarray } from '@stdlib/types/ndarray';
2929
* @returns output ndarray
3030
*
3131
* @example
32+
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
3233
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
3334
*
3435
* var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
@@ -38,10 +39,13 @@ import { ndarray, typedndarray } from '@stdlib/types/ndarray';
3839
* var y = new ndarray( 'generic', ybuf, [ 4 ], [ 1 ], 0, 'row-major' );
3940
*
4041
* var v = cumax( [ x, y ] );
41-
* // returns <ndarray>[ 1.0, 3.0, 4.0, 4.0 ]
42+
* // returns <ndarray>
4243
*
4344
* var bool = ( v === y );
4445
* // returns true
46+
*
47+
* var arr = ndarray2array( v );
48+
* // returns [ 1.0, 3.0, 4.0, 4.0 ]
4549
*/
4650
declare function cumax<T extends typedndarray<unknown> = typedndarray<unknown>>( arrays: [ ndarray, T ] ): T;
4751

base/ndarray/cumax/lib/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @module @stdlib/stats/base/ndarray/cumax
2525
*
2626
* @example
27+
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
2728
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
2829
* var cumax = require( '@stdlib/stats/base/ndarray/cumax' );
2930
*
@@ -34,10 +35,13 @@
3435
* var y = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
3536
*
3637
* var v = cumax( [ x, y ] );
37-
* // returns <ndarray>[ 1.0, 3.0, 4.0, 4.0 ]
38+
* // returns <ndarray>
3839
*
3940
* var bool = ( v === y );
4041
* // returns true
42+
*
43+
* var arr = ndarray2array( v );
44+
* // returns [ 1.0, 3.0, 4.0, 4.0 ]
4145
*/
4246

4347
// MODULES //

base/ndarray/cumax/lib/main.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ var strided = require( './../../../../base/cumax' ).ndarray;
3636
* @returns {ndarrayLike} output ndarray
3737
*
3838
* @example
39+
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
3940
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
4041
*
4142
* var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
@@ -45,10 +46,13 @@ var strided = require( './../../../../base/cumax' ).ndarray;
4546
* var y = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
4647
*
4748
* var v = cumax( [ x, y ] );
48-
* // returns <ndarray>[ 1.0, 3.0, 4.0, 4.0 ]
49+
* // returns <ndarray>
4950
*
5051
* var bool = ( v === y );
5152
* // returns true
53+
*
54+
* var arr = ndarray2array( v );
55+
* // returns [ 1.0, 3.0, 4.0, 4.0 ]
5256
*/
5357
function cumax( arrays ) {
5458
var x = arrays[ 0 ];

base/ndarray/cumin/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ var cumin = require( '@stdlib/stats/base/ndarray/cumin' );
4141
Computes the cumulative minimum value of a one-dimensional ndarray.
4242

4343
```javascript
44+
var ndarray2array = require( '@stdlib/ndarray/to-array' );
4445
var ndarray = require( '@stdlib/ndarray/base/ctor' );
4546

4647
var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
@@ -50,10 +51,13 @@ var ybuf = [ 0.0, 0.0, 0.0, 0.0 ];
5051
var y = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
5152

5253
var v = cumin( [ x, y ] );
53-
// returns <ndarray>[ 1.0, 1.0, 1.0, 1.0 ]
54+
// returns <ndarray>
5455

5556
var bool = ( v === y );
5657
// returns true
58+
59+
var arr = ndarray2array( v );
60+
// returns [ 1.0, 1.0, 1.0, 1.0 ]
5761
```
5862

5963
The function has the following parameters:

base/ndarray/cumin/docs/repl.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
> var ord = 'row-major';
2828
> var x = new {{alias:@stdlib/ndarray/ctor}}( dt, xbuf, sh, st, oo, ord );
2929
> var y = new {{alias:@stdlib/ndarray/ctor}}( dt, ybuf, sh, st, oo, ord );
30-
> {{alias}}( [ x, y ] )
31-
<ndarray>[ 1.0, -2.0, -2.0 ]
30+
> {{alias}}( [ x, y ] );
31+
> {{alias:@stdlib/ndarray/to-array}}( y )
32+
[ 1.0, -2.0, -2.0 ]
3233

3334
See Also
3435
--------

base/ndarray/cumin/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { ndarray, typedndarray } from '@stdlib/types/ndarray';
2929
* @returns output ndarray
3030
*
3131
* @example
32+
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
3233
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
3334
*
3435
* var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
@@ -38,10 +39,13 @@ import { ndarray, typedndarray } from '@stdlib/types/ndarray';
3839
* var y = new ndarray( 'generic', ybuf, [ 4 ], [ 1 ], 0, 'row-major' );
3940
*
4041
* var v = cumin( [ x, y ] );
41-
* // returns <ndarray>[ 1.0, 1.0, 1.0, 1.0 ]
42+
* // returns <ndarray>
4243
*
4344
* var bool = ( v === y );
4445
* // returns true
46+
*
47+
* var arr = ndarray2array( v );
48+
* // returns [ 1.0, 1.0, 1.0, 1.0 ]
4549
*/
4650
declare function cumin<T extends typedndarray<unknown> = typedndarray<unknown>>( arrays: [ ndarray, T ] ): T;
4751

base/ndarray/cumin/lib/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @module @stdlib/stats/base/ndarray/cumin
2525
*
2626
* @example
27+
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
2728
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
2829
* var cumin = require( '@stdlib/stats/base/ndarray/cumin' );
2930
*
@@ -34,10 +35,13 @@
3435
* var y = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
3536
*
3637
* var v = cumin( [ x, y ] );
37-
* // returns <ndarray>[ 1.0, 1.0, 1.0, 1.0 ]
38+
* // returns <ndarray>
3839
*
3940
* var bool = ( v === y );
4041
* // returns true
42+
*
43+
* var arr = ndarray2array( v );
44+
* // returns [ 1.0, 1.0, 1.0, 1.0 ]
4145
*/
4246

4347
// MODULES //

0 commit comments

Comments
 (0)