@stdlib/random-base-laplace 0.1.0 → 0.2.0
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 +24 -3
- package/SECURITY.md +5 -0
- package/package.json +34 -33
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -424,6 +424,14 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
424
424
|
|
|
425
425
|
<section class="related">
|
|
426
426
|
|
|
427
|
+
* * *
|
|
428
|
+
|
|
429
|
+
## See Also
|
|
430
|
+
|
|
431
|
+
- <span class="package-name">[`@stdlib/random-array/laplace`][@stdlib/random/array/laplace]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Laplace (double exponential) distribution.</span>
|
|
432
|
+
- <span class="package-name">[`@stdlib/random-iter/laplace`][@stdlib/random/iter/laplace]</span><span class="delimiter">: </span><span class="description">create an iterator for generating pseudorandom numbers drawn from a Laplace distribution.</span>
|
|
433
|
+
- <span class="package-name">[`@stdlib/random-streams/laplace`][@stdlib/random/streams/laplace]</span><span class="delimiter">: </span><span class="description">create a readable stream for generating pseudorandom numbers drawn from a Laplace (double exponential) distribution.</span>
|
|
434
|
+
|
|
427
435
|
</section>
|
|
428
436
|
|
|
429
437
|
<!-- /.related -->
|
|
@@ -454,7 +462,7 @@ See [LICENSE][stdlib-license].
|
|
|
454
462
|
|
|
455
463
|
## Copyright
|
|
456
464
|
|
|
457
|
-
Copyright © 2016-
|
|
465
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
458
466
|
|
|
459
467
|
</section>
|
|
460
468
|
|
|
@@ -467,8 +475,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
467
475
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/random-base-laplace.svg
|
|
468
476
|
[npm-url]: https://npmjs.org/package/@stdlib/random-base-laplace
|
|
469
477
|
|
|
470
|
-
[test-image]: https://github.com/stdlib-js/random-base-laplace/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
471
|
-
[test-url]: https://github.com/stdlib-js/random-base-laplace/actions/workflows/test.yml?query=branch:v0.
|
|
478
|
+
[test-image]: https://github.com/stdlib-js/random-base-laplace/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
479
|
+
[test-url]: https://github.com/stdlib-js/random-base-laplace/actions/workflows/test.yml?query=branch:v0.2.0
|
|
472
480
|
|
|
473
481
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-base-laplace/main.svg
|
|
474
482
|
[coverage-url]: https://codecov.io/github/stdlib-js/random-base-laplace?branch=main
|
|
@@ -491,8 +499,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
491
499
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
492
500
|
|
|
493
501
|
[deno-url]: https://github.com/stdlib-js/random-base-laplace/tree/deno
|
|
502
|
+
[deno-readme]: https://github.com/stdlib-js/random-base-laplace/blob/deno/README.md
|
|
494
503
|
[umd-url]: https://github.com/stdlib-js/random-base-laplace/tree/umd
|
|
504
|
+
[umd-readme]: https://github.com/stdlib-js/random-base-laplace/blob/umd/README.md
|
|
495
505
|
[esm-url]: https://github.com/stdlib-js/random-base-laplace/tree/esm
|
|
506
|
+
[esm-readme]: https://github.com/stdlib-js/random-base-laplace/blob/esm/README.md
|
|
496
507
|
[branches-url]: https://github.com/stdlib-js/random-base-laplace/blob/main/branches.md
|
|
497
508
|
|
|
498
509
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/random-base-laplace/main/LICENSE
|
|
@@ -501,6 +512,16 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
501
512
|
|
|
502
513
|
[@stdlib/array/uint32]: https://www.npmjs.com/package/@stdlib/array-uint32
|
|
503
514
|
|
|
515
|
+
<!-- <related-links> -->
|
|
516
|
+
|
|
517
|
+
[@stdlib/random/array/laplace]: https://www.npmjs.com/package/@stdlib/random-array-laplace
|
|
518
|
+
|
|
519
|
+
[@stdlib/random/iter/laplace]: https://www.npmjs.com/package/@stdlib/random-iter-laplace
|
|
520
|
+
|
|
521
|
+
[@stdlib/random/streams/laplace]: https://www.npmjs.com/package/@stdlib/random-streams-laplace
|
|
522
|
+
|
|
523
|
+
<!-- </related-links> -->
|
|
524
|
+
|
|
504
525
|
</section>
|
|
505
526
|
|
|
506
527
|
<!-- /.links -->
|
package/SECURITY.md
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/random-base-laplace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Laplace (double exponential) distributed pseudorandom numbers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -37,42 +37,43 @@
|
|
|
37
37
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-to-json": "^0.
|
|
41
|
-
"@stdlib/assert-has-own-property": "^0.
|
|
42
|
-
"@stdlib/assert-is-function": "^0.
|
|
43
|
-
"@stdlib/assert-is-nan": "^0.
|
|
44
|
-
"@stdlib/assert-is-number": "^0.
|
|
45
|
-
"@stdlib/assert-is-plain-object": "^0.
|
|
46
|
-
"@stdlib/assert-is-positive-number": "^0.
|
|
47
|
-
"@stdlib/math-base-assert-is-nan": "^0.
|
|
48
|
-
"@stdlib/math-base-special-abs": "^0.
|
|
49
|
-
"@stdlib/math-base-special-ln": "^0.
|
|
50
|
-
"@stdlib/math-base-special-signum": "^0.
|
|
51
|
-
"@stdlib/random-base-mt19937": "^0.
|
|
52
|
-
"@stdlib/string-format": "^0.
|
|
53
|
-
"@stdlib/types": "^0.1
|
|
54
|
-
"@stdlib/utils-constant-function": "^0.
|
|
55
|
-
"@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.
|
|
56
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.
|
|
57
|
-
"@stdlib/utils-define-nonenumerable-read-write-accessor": "^0.
|
|
58
|
-
"@stdlib/utils-noop": "^0.
|
|
59
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.
|
|
40
|
+
"@stdlib/array-to-json": "^0.2.0",
|
|
41
|
+
"@stdlib/assert-has-own-property": "^0.2.0",
|
|
42
|
+
"@stdlib/assert-is-function": "^0.2.0",
|
|
43
|
+
"@stdlib/assert-is-nan": "^0.2.0",
|
|
44
|
+
"@stdlib/assert-is-number": "^0.2.0",
|
|
45
|
+
"@stdlib/assert-is-plain-object": "^0.2.0",
|
|
46
|
+
"@stdlib/assert-is-positive-number": "^0.2.0",
|
|
47
|
+
"@stdlib/math-base-assert-is-nan": "^0.2.0",
|
|
48
|
+
"@stdlib/math-base-special-abs": "^0.2.0",
|
|
49
|
+
"@stdlib/math-base-special-ln": "^0.2.0",
|
|
50
|
+
"@stdlib/math-base-special-signum": "^0.2.0",
|
|
51
|
+
"@stdlib/random-base-mt19937": "^0.2.0",
|
|
52
|
+
"@stdlib/string-format": "^0.2.0",
|
|
53
|
+
"@stdlib/types": "^0.3.1",
|
|
54
|
+
"@stdlib/utils-constant-function": "^0.2.0",
|
|
55
|
+
"@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.2.0",
|
|
56
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
57
|
+
"@stdlib/utils-define-nonenumerable-read-write-accessor": "^0.2.0",
|
|
58
|
+
"@stdlib/utils-noop": "^0.2.0",
|
|
59
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@stdlib/array-uint32": "^0.
|
|
63
|
-
"@stdlib/assert-is-uint32array": "^0.
|
|
64
|
-
"@stdlib/
|
|
65
|
-
"@stdlib/constants-
|
|
66
|
-
"@stdlib/
|
|
67
|
-
"@stdlib/
|
|
68
|
-
"@stdlib/random-base-minstd": "^0.0
|
|
69
|
-
"@stdlib/random-base-
|
|
70
|
-
"@stdlib/
|
|
71
|
-
"@stdlib/
|
|
72
|
-
"@stdlib/time-now": "^0.1.0",
|
|
62
|
+
"@stdlib/array-uint32": "^0.2.0",
|
|
63
|
+
"@stdlib/assert-is-uint32array": "^0.2.0",
|
|
64
|
+
"@stdlib/constants-float64-eps": "^0.2.0",
|
|
65
|
+
"@stdlib/constants-uint32-max": "^0.2.0",
|
|
66
|
+
"@stdlib/process-env": "^0.2.0",
|
|
67
|
+
"@stdlib/random-base-minstd": "^0.1.0",
|
|
68
|
+
"@stdlib/random-base-minstd-shuffle": "^0.1.0",
|
|
69
|
+
"@stdlib/random-base-randu": "^0.1.0",
|
|
70
|
+
"@stdlib/stats-kstest": "^0.2.0",
|
|
71
|
+
"@stdlib/time-now": "^0.2.0",
|
|
73
72
|
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
74
73
|
"istanbul": "^0.4.1",
|
|
75
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git"
|
|
74
|
+
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
75
|
+
"@stdlib/bench-harness": "^0.2.0",
|
|
76
|
+
"@stdlib/bench": "^0.3.1"
|
|
76
77
|
},
|
|
77
78
|
"engines": {
|
|
78
79
|
"node": ">=0.10.0",
|
package/CITATION.cff
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: stdlib
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this software, please cite it using the
|
|
5
|
-
metadata from this file.
|
|
6
|
-
|
|
7
|
-
type: software
|
|
8
|
-
|
|
9
|
-
authors:
|
|
10
|
-
- name: The Stdlib Authors
|
|
11
|
-
url: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
12
|
-
|
|
13
|
-
repository-code: https://github.com/stdlib-js/stdlib
|
|
14
|
-
url: https://stdlib.io
|
|
15
|
-
|
|
16
|
-
abstract: |
|
|
17
|
-
Standard library for JavaScript and Node.js.
|
|
18
|
-
|
|
19
|
-
keywords:
|
|
20
|
-
- JavaScript
|
|
21
|
-
- Node.js
|
|
22
|
-
- TypeScript
|
|
23
|
-
- standard library
|
|
24
|
-
- scientific computing
|
|
25
|
-
- numerical computing
|
|
26
|
-
- statistical computing
|
|
27
|
-
|
|
28
|
-
license: Apache-2.0 AND BSL-1.0
|
|
29
|
-
|
|
30
|
-
date-released: 2016
|