@stdlib/stats-base-dists-discrete-uniform-logcdf 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 +31 -10
- 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
|
# Logarithm of Cumulative Distribution 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
|
> Evaluate the natural logarithm of the [cumulative distribution function][cdf] for a [discrete uniform][discrete-uniform-distribution] distribution.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [cumulative distribution function][cdf] for a [discrete uniform][discrete-un
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:discrete_uniform_cdf" align="center" raw="F(x)= \begin{cases} 0 & \text{for }x < a \\ \frac{\lfloor x \rfloor - a + 1}{b-a+1} & \text{for }a \le x < b \\ 1 & \text{for }x \ge b \end{cases}" alt="Cumulative distribution function for a discrete uniform distribution."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="F(x)= \begin{cases} 0 & \text{for }x < a \\ \frac{\lfloor x \rfloor - a + 1}{b-a+1} & \text{for }a \le x < b \\ 1 & \text{for }x \ge b \end{cases}" data-equation="eq:discrete_uniform_cdf">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@591cf9d5c3a0cd3c1ceec961e5c49d73a68374cb/lib/node_modules/@stdlib/stats/base/dists/discrete-uniform/logcdf/docs/img/equation_discrete_uniform_cdf.svg" alt="Cumulative distribution function for a discrete uniform distribution.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -155,6 +155,16 @@ for ( i = 0; i < 10; i++ ) {
|
|
|
155
155
|
|
|
156
156
|
<!-- /.examples -->
|
|
157
157
|
|
|
158
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
159
|
+
|
|
160
|
+
<section class="related">
|
|
161
|
+
|
|
162
|
+
</section>
|
|
163
|
+
|
|
164
|
+
<!-- /.related -->
|
|
165
|
+
|
|
166
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
167
|
+
|
|
158
168
|
|
|
159
169
|
<section class="main-repo" >
|
|
160
170
|
|
|
@@ -166,16 +176,15 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
166
176
|
|
|
167
177
|
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].
|
|
168
178
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
## License
|
|
179
|
+
#### Community
|
|
172
180
|
|
|
173
|
-
|
|
181
|
+
[![Chat][chat-image]][chat-url]
|
|
174
182
|
|
|
183
|
+
---
|
|
175
184
|
|
|
176
185
|
## Copyright
|
|
177
186
|
|
|
178
|
-
Copyright © 2016-
|
|
187
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
179
188
|
|
|
180
189
|
</section>
|
|
181
190
|
|
|
@@ -194,15 +203,27 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
194
203
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-discrete-uniform-logcdf/main.svg
|
|
195
204
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-discrete-uniform-logcdf?branch=main
|
|
196
205
|
|
|
197
|
-
|
|
206
|
+
<!--
|
|
207
|
+
|
|
208
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-base-dists-discrete-uniform-logcdf.svg
|
|
198
209
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-base-dists-discrete-uniform-logcdf/main
|
|
199
210
|
|
|
211
|
+
-->
|
|
212
|
+
|
|
213
|
+
[umd]: https://github.com/umdjs/umd
|
|
214
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
215
|
+
|
|
216
|
+
[deno-url]: https://github.com/stdlib-js/stats-base-dists-discrete-uniform-logcdf/tree/deno
|
|
217
|
+
[umd-url]: https://github.com/stdlib-js/stats-base-dists-discrete-uniform-logcdf/tree/umd
|
|
218
|
+
[esm-url]: https://github.com/stdlib-js/stats-base-dists-discrete-uniform-logcdf/tree/esm
|
|
219
|
+
|
|
220
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
221
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
222
|
+
|
|
200
223
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
201
224
|
|
|
202
225
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
203
226
|
|
|
204
|
-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-dists-discrete-uniform-logcdf/main/LICENSE
|
|
205
|
-
|
|
206
227
|
[cdf]: https://en.wikipedia.org/wiki/Cumulative_distribution_function
|
|
207
228
|
|
|
208
229
|
[discrete-uniform-distribution]: https://en.wikipedia.org/wiki/Discrete_uniform_distribution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-base-dists-discrete-uniform-logcdf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Natural logarithm of the cumulative distribution function (CDF)for a discrete uniform distribution.",
|
|
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-discrete-uniform-logcdf.git"
|