Skip to content

Commit 59a543c

Browse files
committed
Auto-generated commit
1 parent 39ea2b8 commit 59a543c

File tree

8 files changed

+22
-48
lines changed

8 files changed

+22
-48
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3510,6 +3510,9 @@ A total of 557 issues were closed in this release:
35103510

35113511
<details>
35123512

3513+
- [`8cf190a`](https://github.com/stdlib-js/stdlib/commit/8cf190af409092c48ce33af1f5c8067393f17656) - **docs:** update examples in `stats/min` [(#8825)](https://github.com/stdlib-js/stdlib/pull/8825) _(by Sachin Pangal)_
3514+
- [`ac2791d`](https://github.com/stdlib-js/stdlib/commit/ac2791d4895a2932decb9f998a6b81057d2111b9) - **docs:** update examples in `stats/minabs` [(#8826)](https://github.com/stdlib-js/stdlib/pull/8826) _(by Sachin Pangal)_
3515+
- [`2cb9592`](https://github.com/stdlib-js/stdlib/commit/2cb9592c7057c1d5b1693343f01d740dd2e1d583) - **docs:** update examples in `stats/max` [(#8827)](https://github.com/stdlib-js/stdlib/pull/8827) _(by Sachin Pangal)_
35133516
- [`120e209`](https://github.com/stdlib-js/stdlib/commit/120e2092781bcc3db496f02c5882d7e0ec735e94) - **docs:** update examples in `stats/range` [(#8828)](https://github.com/stdlib-js/stdlib/pull/8828) _(by Sachin Pangal)_
35143517
- [`495d074`](https://github.com/stdlib-js/stdlib/commit/495d07427db5430c75747fb7317dd679fea217ad) - **docs:** update examples in `stats/cumax` [(#8829)](https://github.com/stdlib-js/stdlib/pull/8829) _(by Sachin Pangal)_
35153518
- [`2c42959`](https://github.com/stdlib-js/stdlib/commit/2c4295942380cc2becc363c431dce88f869d68ff) - **docs:** update examples in `stats/cumin` [(#8830)](https://github.com/stdlib-js/stdlib/pull/8830) _(by Sachin Pangal)_

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ For more information on the project, filing bug reports and feature requests, an
215215

216216
---
217217

218+
## License
219+
220+
See [LICENSE][stdlib-license].
221+
222+
218223
## Copyright
219224

220225
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
@@ -261,6 +266,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
261266
[esm-readme]: https://github.com/stdlib-js/stats/blob/esm/README.md
262267
[branches-url]: https://github.com/stdlib-js/stats/blob/main/branches.md
263268

269+
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats/main/LICENSE
270+
264271
<!-- <toc-links> -->
265272

266273
[@stdlib/stats/cumax]: https://github.com/stdlib-js/stats/tree/main/cumax

max/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,13 @@ The method accepts the following options:
209209
<!-- eslint no-undef: "error" -->
210210

211211
```javascript
212-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
212+
var uniform = require( '@stdlib/random/uniform' );
213213
var getDType = require( '@stdlib/ndarray/dtype' );
214214
var ndarray2array = require( '@stdlib/ndarray/to-array' );
215-
var ndarray = require( '@stdlib/ndarray/ctor' );
216215
var max = require( '@stdlib/stats/max' );
217216

218217
// Generate an array of random numbers:
219-
var xbuf = discreteUniform( 25, 0, 20, {
220-
'dtype': 'generic'
221-
});
222-
223-
// Wrap in an ndarray:
224-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
218+
var x = uniform( [ 5, 5 ], 0.0, 20.0 );
225219
console.log( ndarray2array( x ) );
226220

227221
// Perform a reduction:

max/examples/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@
1818

1919
'use strict';
2020

21-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
21+
var uniform = require( '@stdlib/random/uniform' );
2222
var getDType = require( '@stdlib/ndarray/dtype' );
2323
var ndarray2array = require( '@stdlib/ndarray/to-array' );
24-
var ndarray = require( '@stdlib/ndarray/ctor' );
2524
var max = require( './../lib' );
2625

2726
// Generate an array of random numbers:
28-
var xbuf = discreteUniform( 25, 0, 20, {
29-
'dtype': 'generic'
30-
});
31-
32-
// Wrap in an ndarray:
33-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
27+
var x = uniform( [ 5, 5 ], 0.0, 20.0 );
3428
console.log( ndarray2array( x ) );
3529

3630
// Perform a reduction:

min/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,13 @@ The method accepts the following options:
209209
<!-- eslint no-undef: "error" -->
210210

211211
```javascript
212-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
212+
var uniform = require( '@stdlib/random/uniform' );
213213
var getDType = require( '@stdlib/ndarray/dtype' );
214214
var ndarray2array = require( '@stdlib/ndarray/to-array' );
215-
var ndarray = require( '@stdlib/ndarray/ctor' );
216215
var min = require( '@stdlib/stats/min' );
217216

218217
// Generate an array of random numbers:
219-
var xbuf = discreteUniform( 25, 0, 20, {
220-
'dtype': 'generic'
221-
});
222-
223-
// Wrap in an ndarray:
224-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
218+
var x = uniform( [ 5, 5 ], 0.0, 20.0 );
225219
console.log( ndarray2array( x ) );
226220

227221
// Perform a reduction:

min/examples/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@
1818

1919
'use strict';
2020

21-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
21+
var uniform = require( '@stdlib/random/uniform' );
2222
var getDType = require( '@stdlib/ndarray/dtype' );
2323
var ndarray2array = require( '@stdlib/ndarray/to-array' );
24-
var ndarray = require( '@stdlib/ndarray/ctor' );
2524
var min = require( './../lib' );
2625

2726
// Generate an array of random numbers:
28-
var xbuf = discreteUniform( 25, 0, 20, {
29-
'dtype': 'generic'
30-
});
31-
32-
// Wrap in an ndarray:
33-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
27+
var x = uniform( [ 5, 5 ], 0.0, 20.0 );
3428
console.log( ndarray2array( x ) );
3529

3630
// Perform a reduction:

minabs/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,13 @@ The method accepts the following options:
209209
<!-- eslint no-undef: "error" -->
210210

211211
```javascript
212-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
212+
var uniform = require( '@stdlib/random/uniform' );
213213
var getDType = require( '@stdlib/ndarray/dtype' );
214214
var ndarray2array = require( '@stdlib/ndarray/to-array' );
215-
var ndarray = require( '@stdlib/ndarray/ctor' );
216215
var minabs = require( '@stdlib/stats/minabs' );
217216

218217
// Generate an array of random numbers:
219-
var xbuf = discreteUniform( 25, -10, 10, {
220-
'dtype': 'generic'
221-
});
222-
223-
// Wrap in an ndarray:
224-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
218+
var x = uniform( [ 5, 5 ], -10.0, 10.0 );
225219
console.log( ndarray2array( x ) );
226220

227221
// Perform a reduction:

minabs/examples/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@
1818

1919
'use strict';
2020

21-
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
21+
var uniform = require( '@stdlib/random/uniform' );
2222
var getDType = require( '@stdlib/ndarray/dtype' );
2323
var ndarray2array = require( '@stdlib/ndarray/to-array' );
24-
var ndarray = require( '@stdlib/ndarray/ctor' );
2524
var minabs = require( './../lib' );
2625

2726
// Generate an array of random numbers:
28-
var xbuf = discreteUniform( 25, -10, 10, {
29-
'dtype': 'generic'
30-
});
31-
32-
// Wrap in an ndarray:
33-
var x = new ndarray( 'generic', xbuf, [ 5, 5 ], [ 5, 1 ], 0, 'row-major' );
27+
var x = uniform( [ 5, 5 ], -10.0, 10.0 );
3428
console.log( ndarray2array( x ) );
3529

3630
// Perform a reduction:

0 commit comments

Comments
 (0)