@stdlib/stats-base-dists-pareto-type1 0.0.7 → 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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2022 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -18,6 +18,17 @@ limitations under the License.
18
18
 
19
19
  -->
20
20
 
21
+
22
+ <details>
23
+ <summary>
24
+ About stdlib...
25
+ </summary>
26
+ <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>
27
+ <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>
28
+ <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>
29
+ <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
30
+ </details>
31
+
21
32
  # Pareto (Type I)
22
33
 
23
34
  [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
@@ -164,7 +175,7 @@ See [LICENSE][stdlib-license].
164
175
 
165
176
  ## Copyright
166
177
 
167
- Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
178
+ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
168
179
 
169
180
  </section>
170
181
 
@@ -177,8 +188,8 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
177
188
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dists-pareto-type1.svg
178
189
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-dists-pareto-type1
179
190
 
180
- [test-image]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/actions/workflows/test.yml/badge.svg?branch=v0.0.7
181
- [test-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/actions/workflows/test.yml?query=branch:v0.0.7
191
+ [test-image]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/actions/workflows/test.yml/badge.svg?branch=v0.2.0
192
+ [test-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/actions/workflows/test.yml?query=branch:v0.2.0
182
193
 
183
194
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-pareto-type1/main.svg
184
195
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-pareto-type1?branch=main
@@ -191,7 +202,7 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
191
202
  -->
192
203
 
193
204
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
194
- [chat-url]: https://gitter.im/stdlib-js/stdlib/
205
+ [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
195
206
 
196
207
  [stdlib]: https://github.com/stdlib-js/stdlib
197
208
 
@@ -201,8 +212,11 @@ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
201
212
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
202
213
 
203
214
  [deno-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/tree/deno
215
+ [deno-readme]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/blob/deno/README.md
204
216
  [umd-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/tree/umd
217
+ [umd-readme]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/blob/umd/README.md
205
218
  [esm-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/tree/esm
219
+ [esm-readme]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/blob/esm/README.md
206
220
  [branches-url]: https://github.com/stdlib-js/stats-base-dists-pareto-type1/blob/main/branches.md
207
221
 
208
222
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/stats-base-dists-pareto-type1/main/LICENSE
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -0,0 +1,3 @@
1
+ /// <reference path="../docs/types/index.d.ts" />
2
+ import ns from '../docs/types/index';
3
+ export = ns;
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"cdf",require('@stdlib/stats-base-dists-pareto-type1-cdf/dist'));r(e,"Pareto1",require('@stdlib/stats-base-dists-pareto-type1-ctor/dist'));r(e,"entropy",require('@stdlib/stats-base-dists-pareto-type1-entropy/dist'));r(e,"kurtosis",require('@stdlib/stats-base-dists-pareto-type1-kurtosis/dist'));r(e,"logcdf",require('@stdlib/stats-base-dists-pareto-type1-logcdf/dist'));r(e,"logpdf",require('@stdlib/stats-base-dists-pareto-type1-logpdf/dist'));r(e,"mean",require('@stdlib/stats-base-dists-pareto-type1-mean/dist'));r(e,"median",require('@stdlib/stats-base-dists-pareto-type1-median/dist'));r(e,"mode",require('@stdlib/stats-base-dists-pareto-type1-mode/dist'));r(e,"pdf",require('@stdlib/stats-base-dists-pareto-type1-pdf/dist'));r(e,"quantile",require('@stdlib/stats-base-dists-pareto-type1-quantile/dist'));r(e,"skewness",require('@stdlib/stats-base-dists-pareto-type1-skewness/dist'));r(e,"stdev",require('@stdlib/stats-base-dists-pareto-type1-stdev/dist'));r(e,"variance",require('@stdlib/stats-base-dists-pareto-type1-variance/dist'));module.exports=e;
2
+ /** @license Apache-2.0 */
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../lib/index.js"],
4
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace pareto1\n*/\nvar pareto1 = {};\n\n/**\n* @name cdf\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/cdf}\n*/\nsetReadOnly( pareto1, 'cdf', require( '@stdlib/stats-base-dists-pareto-type1-cdf' ) );\n\n/**\n* @name Pareto1\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/ctor}\n*/\nsetReadOnly( pareto1, 'Pareto1', require( '@stdlib/stats-base-dists-pareto-type1-ctor' ) );\n\n/**\n* @name entropy\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/entropy}\n*/\nsetReadOnly( pareto1, 'entropy', require( '@stdlib/stats-base-dists-pareto-type1-entropy' ) );\n\n/**\n* @name kurtosis\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/kurtosis}\n*/\nsetReadOnly( pareto1, 'kurtosis', require( '@stdlib/stats-base-dists-pareto-type1-kurtosis' ) );\n\n/**\n* @name logcdf\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/logcdf}\n*/\nsetReadOnly( pareto1, 'logcdf', require( '@stdlib/stats-base-dists-pareto-type1-logcdf' ) );\n\n/**\n* @name logpdf\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/logpdf}\n*/\nsetReadOnly( pareto1, 'logpdf', require( '@stdlib/stats-base-dists-pareto-type1-logpdf' ) );\n\n/**\n* @name mean\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/mean}\n*/\nsetReadOnly( pareto1, 'mean', require( '@stdlib/stats-base-dists-pareto-type1-mean' ) );\n\n/**\n* @name median\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/median}\n*/\nsetReadOnly( pareto1, 'median', require( '@stdlib/stats-base-dists-pareto-type1-median' ) );\n\n/**\n* @name mode\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/mode}\n*/\nsetReadOnly( pareto1, 'mode', require( '@stdlib/stats-base-dists-pareto-type1-mode' ) );\n\n/**\n* @name pdf\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/pdf}\n*/\nsetReadOnly( pareto1, 'pdf', require( '@stdlib/stats-base-dists-pareto-type1-pdf' ) );\n\n/**\n* @name quantile\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/quantile}\n*/\nsetReadOnly( pareto1, 'quantile', require( '@stdlib/stats-base-dists-pareto-type1-quantile' ) );\n\n/**\n* @name skewness\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/skewness}\n*/\nsetReadOnly( pareto1, 'skewness', require( '@stdlib/stats-base-dists-pareto-type1-skewness' ) );\n\n/**\n* @name stdev\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/stdev}\n*/\nsetReadOnly( pareto1, 'stdev', require( '@stdlib/stats-base-dists-pareto-type1-stdev' ) );\n\n/**\n* @name variance\n* @memberof pareto1\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/pareto-type1/variance}\n*/\nsetReadOnly( pareto1, 'variance', require( '@stdlib/stats-base-dists-pareto-type1-variance' ) );\n\n\n// EXPORTS //\n\nmodule.exports = pareto1;\n"],
5
+ "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAU,CAAC,EASfD,EAAaC,EAAS,MAAO,QAAS,2CAA4C,CAAE,EASpFD,EAAaC,EAAS,UAAW,QAAS,4CAA6C,CAAE,EASzFD,EAAaC,EAAS,UAAW,QAAS,+CAAgD,CAAE,EAS5FD,EAAaC,EAAS,WAAY,QAAS,gDAAiD,CAAE,EAS9FD,EAAaC,EAAS,SAAU,QAAS,8CAA+C,CAAE,EAS1FD,EAAaC,EAAS,SAAU,QAAS,8CAA+C,CAAE,EAS1FD,EAAaC,EAAS,OAAQ,QAAS,4CAA6C,CAAE,EAStFD,EAAaC,EAAS,SAAU,QAAS,8CAA+C,CAAE,EAS1FD,EAAaC,EAAS,OAAQ,QAAS,4CAA6C,CAAE,EAStFD,EAAaC,EAAS,MAAO,QAAS,2CAA4C,CAAE,EASpFD,EAAaC,EAAS,WAAY,QAAS,gDAAiD,CAAE,EAS9FD,EAAaC,EAAS,WAAY,QAAS,gDAAiD,CAAE,EAS9FD,EAAaC,EAAS,QAAS,QAAS,6CAA8C,CAAE,EASxFD,EAAaC,EAAS,WAAY,QAAS,gDAAiD,CAAE,EAK9F,OAAO,QAAUA",
6
+ "names": ["setReadOnly", "pareto1"]
7
+ }
@@ -16,10 +16,9 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- // TypeScript Version: 2.0
19
+ // TypeScript Version: 4.1
20
20
 
21
- /* tslint:disable:max-line-length */
22
- /* tslint:disable:max-file-line-count */
21
+ /* eslint-disable max-lines */
23
22
 
24
23
  import cdf = require( '@stdlib/stats-base-dists-pareto-type1-cdf' );
25
24
  import Pareto1 = require( '@stdlib/stats-base-dists-pareto-type1-ctor' );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/stats-base-dists-pareto-type1",
3
- "version": "0.0.7",
3
+ "version": "0.2.0",
4
4
  "description": "Pareto (Type I) distribution.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -36,47 +36,48 @@
36
36
  "url": "https://github.com/stdlib-js/stdlib/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@stdlib/stats-base-dists-pareto-type1-cdf": "^0.0.x",
40
- "@stdlib/stats-base-dists-pareto-type1-ctor": "^0.0.x",
41
- "@stdlib/stats-base-dists-pareto-type1-entropy": "^0.0.x",
42
- "@stdlib/stats-base-dists-pareto-type1-kurtosis": "^0.0.x",
43
- "@stdlib/stats-base-dists-pareto-type1-logcdf": "^0.0.x",
44
- "@stdlib/stats-base-dists-pareto-type1-logpdf": "^0.0.x",
45
- "@stdlib/stats-base-dists-pareto-type1-mean": "^0.0.x",
46
- "@stdlib/stats-base-dists-pareto-type1-median": "^0.0.x",
47
- "@stdlib/stats-base-dists-pareto-type1-mode": "^0.0.x",
48
- "@stdlib/stats-base-dists-pareto-type1-pdf": "^0.0.x",
49
- "@stdlib/stats-base-dists-pareto-type1-quantile": "^0.0.x",
50
- "@stdlib/stats-base-dists-pareto-type1-skewness": "^0.0.x",
51
- "@stdlib/stats-base-dists-pareto-type1-stdev": "^0.0.x",
52
- "@stdlib/stats-base-dists-pareto-type1-variance": "^0.0.x",
53
- "@stdlib/utils-define-read-only-property": "^0.0.x"
39
+ "@stdlib/stats-base-dists-pareto-type1-cdf": "^0.2.0",
40
+ "@stdlib/stats-base-dists-pareto-type1-ctor": "^0.2.0",
41
+ "@stdlib/stats-base-dists-pareto-type1-entropy": "^0.2.0",
42
+ "@stdlib/stats-base-dists-pareto-type1-kurtosis": "^0.2.0",
43
+ "@stdlib/stats-base-dists-pareto-type1-logcdf": "^0.2.0",
44
+ "@stdlib/stats-base-dists-pareto-type1-logpdf": "^0.2.0",
45
+ "@stdlib/stats-base-dists-pareto-type1-mean": "^0.2.0",
46
+ "@stdlib/stats-base-dists-pareto-type1-median": "^0.2.0",
47
+ "@stdlib/stats-base-dists-pareto-type1-mode": "^0.2.0",
48
+ "@stdlib/stats-base-dists-pareto-type1-pdf": "^0.2.0",
49
+ "@stdlib/stats-base-dists-pareto-type1-quantile": "^0.2.0",
50
+ "@stdlib/stats-base-dists-pareto-type1-skewness": "^0.2.0",
51
+ "@stdlib/stats-base-dists-pareto-type1-stdev": "^0.2.0",
52
+ "@stdlib/stats-base-dists-pareto-type1-variance": "^0.2.0",
53
+ "@stdlib/utils-define-read-only-property": "^0.2.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@stdlib/assert-has-own-property": "^0.0.x",
57
- "@stdlib/assert-is-function": "^0.0.x",
58
- "@stdlib/assert-is-positive-number": "^0.0.x",
59
- "@stdlib/bench": "^0.0.x",
60
- "@stdlib/constants-float64-eps": "^0.0.x",
61
- "@stdlib/constants-float64-ninf": "^0.0.x",
62
- "@stdlib/constants-float64-pinf": "^0.0.x",
63
- "@stdlib/math-base-assert-is-nan": "^0.0.x",
64
- "@stdlib/math-base-special-abs": "^0.0.x",
65
- "@stdlib/math-base-special-exp": "^0.0.x",
66
- "@stdlib/math-base-special-ln": "^0.0.x",
67
- "@stdlib/math-base-special-log1p": "^0.0.x",
68
- "@stdlib/math-base-special-pow": "^0.0.x",
69
- "@stdlib/math-base-special-sqrt": "^0.0.x",
70
- "@stdlib/random-base-randu": "^0.0.x",
71
- "@stdlib/string-format": "^0.0.x",
72
- "@stdlib/utils-constant-function": "^0.0.x",
73
- "@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.0.x",
74
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.x",
75
- "@stdlib/utils-define-property": "^0.0.x",
76
- "@stdlib/utils-keys": "^0.0.x",
56
+ "@stdlib/assert-has-own-property": "^0.1.1",
57
+ "@stdlib/assert-is-function": "^0.1.1",
58
+ "@stdlib/assert-is-positive-number": "^0.2.0",
59
+ "@stdlib/constants-float64-eps": "^0.1.1",
60
+ "@stdlib/constants-float64-ninf": "^0.1.1",
61
+ "@stdlib/constants-float64-pinf": "^0.1.1",
62
+ "@stdlib/math-base-assert-is-nan": "^0.1.1",
63
+ "@stdlib/math-base-special-abs": "^0.1.1",
64
+ "@stdlib/math-base-special-exp": "^0.1.0",
65
+ "@stdlib/math-base-special-ln": "^0.1.1",
66
+ "@stdlib/math-base-special-log1p": "^0.2.0",
67
+ "@stdlib/math-base-special-pow": "^0.1.0",
68
+ "@stdlib/math-base-special-sqrt": "^0.1.1",
69
+ "@stdlib/random-base-randu": "^0.1.0",
70
+ "@stdlib/string-format": "^0.2.0",
71
+ "@stdlib/utils-constant-function": "^0.2.0",
72
+ "@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.2.0",
73
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
74
+ "@stdlib/utils-define-property": "^0.1.1",
75
+ "@stdlib/utils-keys": "^0.1.0",
77
76
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
78
77
  "istanbul": "^0.4.1",
79
- "tap-spec": "5.x.x"
78
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git",
79
+ "@stdlib/bench-harness": "^0.2.0",
80
+ "@stdlib/bench": "^0.3.1"
80
81
  },
81
82
  "engines": {
82
83
  "node": ">=0.10.0",
@@ -110,7 +111,7 @@
110
111
  "continuous"
111
112
  ],
112
113
  "funding": {
113
- "type": "patreon",
114
- "url": "https://www.patreon.com/athan"
114
+ "type": "opencollective",
115
+ "url": "https://opencollective.com/stdlib"
115
116
  }
116
117
  }
@@ -1,29 +0,0 @@
1
- /*
2
- * @license Apache-2.0
3
- *
4
- * Copyright (c) 2021 The Stdlib Authors.
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
-
19
- /* tslint:disable:no-unused-expression */
20
-
21
- import paretoType1 = require( './index' );
22
-
23
-
24
- // TESTS //
25
-
26
- // The exported value is the expected interface...
27
- {
28
- paretoType1; // $ExpectType Namespace
29
- }