@stdlib/stats-base-dists-geometric-pmf 0.0.2 → 0.0.6
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 +32 -4
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# Probability Mass Function
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> [Geometric][geometric-distribution] distribution [probability mass function][pmf] (PMF).
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [probability mass function][pmf] (PMF) for a [geometric][geometric-distribut
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:geometric_pmf" align="center" raw="\Pr(X = x) = \begin{cases}(1-p)^{x}\,p & \text{ for } x=0,1,2,\ldots \\ 0 & \text{ otherwise } \end{cases}" alt="Probability mass function (PMF) for a geometric distribution."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\Pr(X = x) = \begin{cases}(1-p)^{x}\,p & \text{ for } x=0,1,2,\ldots \\ 0 & \text{ otherwise } \end{cases}" data-equation="eq:geometric_pmf">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@51534079fef45e990850102147e8945fb023d1d0/lib/node_modules/@stdlib/stats/base/dists/geometric/pmf/docs/img/equation_geometric_pmf.svg" alt="Probability mass function (PMF) for a geometric distribution.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -141,6 +141,16 @@ for ( i = 0; i < 10; i++ ) {
|
|
|
141
141
|
|
|
142
142
|
<!-- /.examples -->
|
|
143
143
|
|
|
144
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
145
|
+
|
|
146
|
+
<section class="related">
|
|
147
|
+
|
|
148
|
+
</section>
|
|
149
|
+
|
|
150
|
+
<!-- /.related -->
|
|
151
|
+
|
|
152
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
153
|
+
|
|
144
154
|
|
|
145
155
|
<section class="main-repo" >
|
|
146
156
|
|
|
@@ -152,6 +162,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
152
162
|
|
|
153
163
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
154
164
|
|
|
165
|
+
#### Community
|
|
166
|
+
|
|
167
|
+
[![Chat][chat-image]][chat-url]
|
|
168
|
+
|
|
155
169
|
---
|
|
156
170
|
|
|
157
171
|
## License
|
|
@@ -161,7 +175,7 @@ See [LICENSE][stdlib-license].
|
|
|
161
175
|
|
|
162
176
|
## Copyright
|
|
163
177
|
|
|
164
|
-
Copyright © 2016-
|
|
178
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
165
179
|
|
|
166
180
|
</section>
|
|
167
181
|
|
|
@@ -180,9 +194,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
180
194
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-geometric-pmf/main.svg
|
|
181
195
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-geometric-pmf?branch=main
|
|
182
196
|
|
|
183
|
-
|
|
197
|
+
<!--
|
|
198
|
+
|
|
199
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-base-dists-geometric-pmf.svg
|
|
184
200
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-base-dists-geometric-pmf/main
|
|
185
201
|
|
|
202
|
+
-->
|
|
203
|
+
|
|
204
|
+
[umd]: https://github.com/umdjs/umd
|
|
205
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
206
|
+
|
|
207
|
+
[deno-url]: https://github.com/stdlib-js/stats-base-dists-geometric-pmf/tree/deno
|
|
208
|
+
[umd-url]: https://github.com/stdlib-js/stats-base-dists-geometric-pmf/tree/umd
|
|
209
|
+
[esm-url]: https://github.com/stdlib-js/stats-base-dists-geometric-pmf/tree/esm
|
|
210
|
+
|
|
211
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
212
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
213
|
+
|
|
186
214
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
187
215
|
|
|
188
216
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-base-dists-geometric-pmf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Geometric distribution probability mass function (PMF).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"examples": "make examples",
|
|
29
29
|
"benchmark": "make benchmark"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
34
|
"url": "git://github.com/stdlib-js/stats-base-dists-geometric-pmf.git"
|