@stdlib/stats-base-dists-uniform-mgf 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 +30 -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
|
# Moment-Generating 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
|
> [Uniform][uniform-distribution] distribution moment-generating function (MGF).
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ The [moment-generating function][mgf] for a [continuous uniform][uniform-distrib
|
|
|
33
33
|
<!-- <equation class="equation" label="eq:uniform_mgf_function" align="center" raw="M_X(t) := \mathbb{E}\!\left[e^{tX}\right]= \begin{cases} \frac{\mathrm{e}^{tb}-\mathrm{e}^{ta}}{t(b-a)} & \text{for } t \neq 0 \\ 1 & \text{for } t = 0 \end{cases}" alt="Moment-generating function (MGF) for a uniform distribution."> -->
|
|
34
34
|
|
|
35
35
|
<div class="equation" align="center" data-raw-text="M_X(t) := \mathbb{E}\!\left[e^{tX}\right]= \begin{cases} \frac{\mathrm{e}^{tb}-\mathrm{e}^{ta}}{t(b-a)} & \text{for } t \neq 0 \\ 1 & \text{for } t = 0 \end{cases}" data-equation="eq:uniform_mgf_function">
|
|
36
|
-
<img src="https://cdn.
|
|
36
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@51534079fef45e990850102147e8945fb023d1d0/lib/node_modules/@stdlib/stats/base/dists/uniform/mgf/docs/img/equation_uniform_mgf_function.svg" alt="Moment-generating function (MGF) for a uniform distribution.">
|
|
37
37
|
<br>
|
|
38
38
|
</div>
|
|
39
39
|
|
|
@@ -167,6 +167,14 @@ for ( i = 0; i < 10; i++ ) {
|
|
|
167
167
|
|
|
168
168
|
<!-- /.references -->
|
|
169
169
|
|
|
170
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
171
|
+
|
|
172
|
+
<section class="related">
|
|
173
|
+
|
|
174
|
+
</section>
|
|
175
|
+
|
|
176
|
+
<!-- /.related -->
|
|
177
|
+
|
|
170
178
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
171
179
|
|
|
172
180
|
|
|
@@ -180,6 +188,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
180
188
|
|
|
181
189
|
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].
|
|
182
190
|
|
|
191
|
+
#### Community
|
|
192
|
+
|
|
193
|
+
[![Chat][chat-image]][chat-url]
|
|
194
|
+
|
|
183
195
|
---
|
|
184
196
|
|
|
185
197
|
## License
|
|
@@ -189,7 +201,7 @@ See [LICENSE][stdlib-license].
|
|
|
189
201
|
|
|
190
202
|
## Copyright
|
|
191
203
|
|
|
192
|
-
Copyright © 2016-
|
|
204
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
193
205
|
|
|
194
206
|
</section>
|
|
195
207
|
|
|
@@ -208,9 +220,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
208
220
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-uniform-mgf/main.svg
|
|
209
221
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-uniform-mgf?branch=main
|
|
210
222
|
|
|
211
|
-
|
|
223
|
+
<!--
|
|
224
|
+
|
|
225
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-base-dists-uniform-mgf.svg
|
|
212
226
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-base-dists-uniform-mgf/main
|
|
213
227
|
|
|
228
|
+
-->
|
|
229
|
+
|
|
230
|
+
[umd]: https://github.com/umdjs/umd
|
|
231
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
232
|
+
|
|
233
|
+
[deno-url]: https://github.com/stdlib-js/stats-base-dists-uniform-mgf/tree/deno
|
|
234
|
+
[umd-url]: https://github.com/stdlib-js/stats-base-dists-uniform-mgf/tree/umd
|
|
235
|
+
[esm-url]: https://github.com/stdlib-js/stats-base-dists-uniform-mgf/tree/esm
|
|
236
|
+
|
|
237
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
238
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
239
|
+
|
|
214
240
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
215
241
|
|
|
216
242
|
[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-uniform-mgf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Uniform distribution moment-generating function (MGF).",
|
|
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-uniform-mgf.git"
|