@stdlib/random-base 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +6 -6
- package/docs/types/index.d.ts +3 -3
- package/package.json +3 -3
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ Attached to each PRNG are the following properties:
|
|
|
121
121
|
- **seed**: the value used to seed the PRNG.
|
|
122
122
|
- **seedLength**: the length of the PRNG seed.
|
|
123
123
|
- **state**: the PRNG state.
|
|
124
|
-
- **stateLength**: the length
|
|
124
|
+
- **stateLength**: the length of the PRNG state.
|
|
125
125
|
- **byteLength**: the size of the PRNG state.
|
|
126
126
|
- **PRNG**: the underlying pseudorandom number generator.
|
|
127
127
|
|
|
@@ -223,7 +223,7 @@ See [LICENSE][stdlib-license].
|
|
|
223
223
|
|
|
224
224
|
## Copyright
|
|
225
225
|
|
|
226
|
-
Copyright © 2016-
|
|
226
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
227
227
|
|
|
228
228
|
</section>
|
|
229
229
|
|
|
@@ -236,8 +236,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
236
236
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/random-base.svg
|
|
237
237
|
[npm-url]: https://npmjs.org/package/@stdlib/random-base
|
|
238
238
|
|
|
239
|
-
[test-image]: https://github.com/stdlib-js/random-base/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
240
|
-
[test-url]: https://github.com/stdlib-js/random-base/actions/workflows/test.yml?query=branch:v0.2.
|
|
239
|
+
[test-image]: https://github.com/stdlib-js/random-base/actions/workflows/test.yml/badge.svg?branch=v0.2.2
|
|
240
|
+
[test-url]: https://github.com/stdlib-js/random-base/actions/workflows/test.yml?query=branch:v0.2.2
|
|
241
241
|
|
|
242
242
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-base/main.svg
|
|
243
243
|
[coverage-url]: https://codecov.io/github/stdlib-js/random-base?branch=main
|
|
@@ -249,8 +249,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
249
249
|
|
|
250
250
|
-->
|
|
251
251
|
|
|
252
|
-
[chat-image]: https://img.shields.io/
|
|
253
|
-
[chat-url]: https://
|
|
252
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
253
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
254
254
|
|
|
255
255
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
256
256
|
|
package/docs/types/index.d.ts
CHANGED
|
@@ -380,7 +380,7 @@ interface Namespace {
|
|
|
380
380
|
* // returns <number>
|
|
381
381
|
*
|
|
382
382
|
* @example
|
|
383
|
-
* var myf = ns.f.
|
|
383
|
+
* var myf = ns.f.factory( 1.5, 1.5 );
|
|
384
384
|
*
|
|
385
385
|
* var v = myf();
|
|
386
386
|
* // returns <number>
|
|
@@ -1017,8 +1017,8 @@ interface Namespace {
|
|
|
1017
1017
|
* - If `k <= 0` or `lambda <= 0`, the function returns `NaN`.
|
|
1018
1018
|
* - If `k` or `lambda` is `NaN`, the function returns `NaN`.
|
|
1019
1019
|
*
|
|
1020
|
-
* @param k -
|
|
1021
|
-
* @param lambda -
|
|
1020
|
+
* @param k - shape parameter
|
|
1021
|
+
* @param lambda - scale parameter
|
|
1022
1022
|
* @returns pseudorandom number
|
|
1023
1023
|
*
|
|
1024
1024
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/random-base",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Base pseudorandom number generators.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@stdlib/random-base-logistic": "^0.2.1",
|
|
58
58
|
"@stdlib/random-base-lognormal": "^0.2.1",
|
|
59
59
|
"@stdlib/random-base-minstd": "^0.2.1",
|
|
60
|
-
"@stdlib/random-base-minstd-shuffle": "^0.2.
|
|
60
|
+
"@stdlib/random-base-minstd-shuffle": "^0.2.2",
|
|
61
61
|
"@stdlib/random-base-mt19937": "^0.2.1",
|
|
62
62
|
"@stdlib/random-base-negative-binomial": "^0.2.1",
|
|
63
63
|
"@stdlib/random-base-normal": "^0.2.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@stdlib/random-base-triangular": "^0.2.1",
|
|
73
73
|
"@stdlib/random-base-uniform": "^0.2.1",
|
|
74
74
|
"@stdlib/random-base-weibull": "^0.2.1",
|
|
75
|
-
"@stdlib/utils-define-read-only-property": "^0.2.
|
|
75
|
+
"@stdlib/utils-define-read-only-property": "^0.2.2"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {},
|
|
78
78
|
"engines": {
|