@stdlib/stats-base-dists-t 0.0.7 → 0.1.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/CITATION.cff ADDED
@@ -0,0 +1,30 @@
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
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2022 The Stdlib Authors.
1
+ Copyright (c) 2016-2023 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
  # Student's T
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-2023. 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-t.svg
178
189
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-dists-t
179
190
 
180
- [test-image]: https://github.com/stdlib-js/stats-base-dists-t/actions/workflows/test.yml/badge.svg?branch=v0.0.7
181
- [test-url]: https://github.com/stdlib-js/stats-base-dists-t/actions/workflows/test.yml?query=branch:v0.0.7
191
+ [test-image]: https://github.com/stdlib-js/stats-base-dists-t/actions/workflows/test.yml/badge.svg?branch=v0.1.0
192
+ [test-url]: https://github.com/stdlib-js/stats-base-dists-t/actions/workflows/test.yml?query=branch:v0.1.0
182
193
 
183
194
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-t/main.svg
184
195
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-t?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
 
@@ -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-t-cdf/dist'));r(e,"T",require('@stdlib/stats-base-dists-t-ctor/dist'));r(e,"entropy",require('@stdlib/stats-base-dists-t-entropy/dist'));r(e,"kurtosis",require('@stdlib/stats-base-dists-t-kurtosis/dist'));r(e,"logcdf",require('@stdlib/stats-base-dists-t-logcdf/dist'));r(e,"logpdf",require('@stdlib/stats-base-dists-t-logpdf/dist'));r(e,"mean",require('@stdlib/stats-base-dists-t-mean/dist'));r(e,"median",require('@stdlib/stats-base-dists-t-median/dist'));r(e,"mode",require('@stdlib/stats-base-dists-t-mode/dist'));r(e,"pdf",require('@stdlib/stats-base-dists-t-pdf/dist'));r(e,"quantile",require('@stdlib/stats-base-dists-t-quantile/dist'));r(e,"skewness",require('@stdlib/stats-base-dists-t-skewness/dist'));r(e,"stdev",require('@stdlib/stats-base-dists-t-stdev/dist'));r(e,"variance",require('@stdlib/stats-base-dists-t-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 t\n*/\nvar t = {};\n\n/**\n* @name cdf\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/cdf}\n*/\nsetReadOnly( t, 'cdf', require( '@stdlib/stats-base-dists-t-cdf' ) );\n\n/**\n* @name T\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/ctor}\n*/\nsetReadOnly( t, 'T', require( '@stdlib/stats-base-dists-t-ctor' ) );\n\n/**\n* @name entropy\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/entropy}\n*/\nsetReadOnly( t, 'entropy', require( '@stdlib/stats-base-dists-t-entropy' ) );\n\n/**\n* @name kurtosis\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/kurtosis}\n*/\nsetReadOnly( t, 'kurtosis', require( '@stdlib/stats-base-dists-t-kurtosis' ) );\n\n/**\n* @name logcdf\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/logcdf}\n*/\nsetReadOnly( t, 'logcdf', require( '@stdlib/stats-base-dists-t-logcdf' ) );\n\n/**\n* @name logpdf\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/logpdf}\n*/\nsetReadOnly( t, 'logpdf', require( '@stdlib/stats-base-dists-t-logpdf' ) );\n\n/**\n* @name mean\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/mean}\n*/\nsetReadOnly( t, 'mean', require( '@stdlib/stats-base-dists-t-mean' ) );\n\n/**\n* @name median\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/median}\n*/\nsetReadOnly( t, 'median', require( '@stdlib/stats-base-dists-t-median' ) );\n\n/**\n* @name mode\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/mode}\n*/\nsetReadOnly( t, 'mode', require( '@stdlib/stats-base-dists-t-mode' ) );\n\n/**\n* @name pdf\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/pdf}\n*/\nsetReadOnly( t, 'pdf', require( '@stdlib/stats-base-dists-t-pdf' ) );\n\n/**\n* @name quantile\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/quantile}\n*/\nsetReadOnly( t, 'quantile', require( '@stdlib/stats-base-dists-t-quantile' ) );\n\n/**\n* @name skewness\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/skewness}\n*/\nsetReadOnly( t, 'skewness', require( '@stdlib/stats-base-dists-t-skewness' ) );\n\n/**\n* @name stdev\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/stdev}\n*/\nsetReadOnly( t, 'stdev', require( '@stdlib/stats-base-dists-t-stdev' ) );\n\n/**\n* @name variance\n* @memberof t\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/stats/base/dists/t/variance}\n*/\nsetReadOnly( t, 'variance', require( '@stdlib/stats-base-dists-t-variance' ) );\n\n\n// EXPORTS //\n\nmodule.exports = t;\n"],
5
+ "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAI,CAAC,EASTD,EAAaC,EAAG,MAAO,QAAS,gCAAiC,CAAE,EASnED,EAAaC,EAAG,IAAK,QAAS,iCAAkC,CAAE,EASlED,EAAaC,EAAG,UAAW,QAAS,oCAAqC,CAAE,EAS3ED,EAAaC,EAAG,WAAY,QAAS,qCAAsC,CAAE,EAS7ED,EAAaC,EAAG,SAAU,QAAS,mCAAoC,CAAE,EASzED,EAAaC,EAAG,SAAU,QAAS,mCAAoC,CAAE,EASzED,EAAaC,EAAG,OAAQ,QAAS,iCAAkC,CAAE,EASrED,EAAaC,EAAG,SAAU,QAAS,mCAAoC,CAAE,EASzED,EAAaC,EAAG,OAAQ,QAAS,iCAAkC,CAAE,EASrED,EAAaC,EAAG,MAAO,QAAS,gCAAiC,CAAE,EASnED,EAAaC,EAAG,WAAY,QAAS,qCAAsC,CAAE,EAS7ED,EAAaC,EAAG,WAAY,QAAS,qCAAsC,CAAE,EAS7ED,EAAaC,EAAG,QAAS,QAAS,kCAAmC,CAAE,EASvED,EAAaC,EAAG,WAAY,QAAS,qCAAsC,CAAE,EAK7E,OAAO,QAAUA",
6
+ "names": ["setReadOnly", "t"]
7
+ }
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
- // TypeScript Version: 2.0
19
+ // TypeScript Version: 4.1
20
20
 
21
21
  /* tslint:disable:max-line-length */
22
22
  /* tslint:disable:max-file-line-count */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/stats-base-dists-t",
3
- "version": "0.0.7",
3
+ "version": "0.1.0",
4
4
  "description": "Student's t distribution.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -36,54 +36,54 @@
36
36
  "url": "https://github.com/stdlib-js/stdlib/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@stdlib/stats-base-dists-t-cdf": "^0.0.x",
40
- "@stdlib/stats-base-dists-t-ctor": "^0.0.x",
41
- "@stdlib/stats-base-dists-t-entropy": "^0.0.x",
42
- "@stdlib/stats-base-dists-t-kurtosis": "^0.0.x",
43
- "@stdlib/stats-base-dists-t-logcdf": "^0.0.x",
44
- "@stdlib/stats-base-dists-t-logpdf": "^0.0.x",
45
- "@stdlib/stats-base-dists-t-mean": "^0.0.x",
46
- "@stdlib/stats-base-dists-t-median": "^0.0.x",
47
- "@stdlib/stats-base-dists-t-mode": "^0.0.x",
48
- "@stdlib/stats-base-dists-t-pdf": "^0.0.x",
49
- "@stdlib/stats-base-dists-t-quantile": "^0.0.x",
50
- "@stdlib/stats-base-dists-t-skewness": "^0.0.x",
51
- "@stdlib/stats-base-dists-t-stdev": "^0.0.x",
52
- "@stdlib/stats-base-dists-t-variance": "^0.0.x",
53
- "@stdlib/utils-define-read-only-property": "^0.0.x"
39
+ "@stdlib/stats-base-dists-t-cdf": "^0.1.0",
40
+ "@stdlib/stats-base-dists-t-ctor": "^0.1.0",
41
+ "@stdlib/stats-base-dists-t-entropy": "^0.1.0",
42
+ "@stdlib/stats-base-dists-t-kurtosis": "^0.1.0",
43
+ "@stdlib/stats-base-dists-t-logcdf": "^0.1.0",
44
+ "@stdlib/stats-base-dists-t-logpdf": "^0.1.0",
45
+ "@stdlib/stats-base-dists-t-mean": "^0.1.0",
46
+ "@stdlib/stats-base-dists-t-median": "^0.1.0",
47
+ "@stdlib/stats-base-dists-t-mode": "^0.1.0",
48
+ "@stdlib/stats-base-dists-t-pdf": "^0.1.0",
49
+ "@stdlib/stats-base-dists-t-quantile": "^0.1.0",
50
+ "@stdlib/stats-base-dists-t-skewness": "^0.1.0",
51
+ "@stdlib/stats-base-dists-t-stdev": "^0.1.0",
52
+ "@stdlib/stats-base-dists-t-variance": "^0.1.0",
53
+ "@stdlib/utils-define-read-only-property": "^0.1.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-ln-half": "^0.0.x",
62
- "@stdlib/constants-float64-ninf": "^0.0.x",
63
- "@stdlib/constants-float64-pinf": "^0.0.x",
64
- "@stdlib/math-base-assert-is-nan": "^0.0.x",
65
- "@stdlib/math-base-special-abs": "^0.0.x",
66
- "@stdlib/math-base-special-beta": "^0.0.x",
67
- "@stdlib/math-base-special-betainc": "^0.0.x",
68
- "@stdlib/math-base-special-betaln": "^0.0.x",
69
- "@stdlib/math-base-special-ceil": "^0.0.x",
70
- "@stdlib/math-base-special-digamma": "^0.0.x",
71
- "@stdlib/math-base-special-kernel-betaincinv": "^0.0.x",
72
- "@stdlib/math-base-special-ln": "^0.0.x",
73
- "@stdlib/math-base-special-log1p": "^0.0.x",
74
- "@stdlib/math-base-special-pow": "^0.0.x",
75
- "@stdlib/math-base-special-signum": "^0.0.x",
76
- "@stdlib/math-base-special-sqrt": "^0.0.x",
77
- "@stdlib/random-base-randu": "^0.0.x",
78
- "@stdlib/string-format": "^0.0.x",
79
- "@stdlib/utils-constant-function": "^0.0.x",
80
- "@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.0.x",
81
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.x",
82
- "@stdlib/utils-define-property": "^0.0.x",
83
- "@stdlib/utils-keys": "^0.0.x",
56
+ "@stdlib/assert-has-own-property": "^0.1.0",
57
+ "@stdlib/assert-is-function": "^0.1.0",
58
+ "@stdlib/assert-is-positive-number": "^0.1.0",
59
+ "@stdlib/bench": "^0.1.0",
60
+ "@stdlib/constants-float64-eps": "^0.1.0",
61
+ "@stdlib/constants-float64-ln-half": "^0.1.0",
62
+ "@stdlib/constants-float64-ninf": "^0.1.0",
63
+ "@stdlib/constants-float64-pinf": "^0.1.0",
64
+ "@stdlib/math-base-assert-is-nan": "^0.1.0",
65
+ "@stdlib/math-base-special-abs": "^0.1.0",
66
+ "@stdlib/math-base-special-beta": "^0.1.0",
67
+ "@stdlib/math-base-special-betainc": "^0.1.0",
68
+ "@stdlib/math-base-special-betaln": "^0.1.0",
69
+ "@stdlib/math-base-special-ceil": "^0.1.0",
70
+ "@stdlib/math-base-special-digamma": "^0.1.0",
71
+ "@stdlib/math-base-special-kernel-betaincinv": "^0.1.0",
72
+ "@stdlib/math-base-special-ln": "^0.1.0",
73
+ "@stdlib/math-base-special-log1p": "^0.1.0",
74
+ "@stdlib/math-base-special-pow": "^0.1.0",
75
+ "@stdlib/math-base-special-signum": "^0.1.0",
76
+ "@stdlib/math-base-special-sqrt": "^0.1.0",
77
+ "@stdlib/random-base-randu": "^0.0.8",
78
+ "@stdlib/string-format": "^0.1.0",
79
+ "@stdlib/utils-constant-function": "^0.1.0",
80
+ "@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.1.0",
81
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
82
+ "@stdlib/utils-define-property": "^0.1.0",
83
+ "@stdlib/utils-keys": "^0.1.0",
84
84
  "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
85
85
  "istanbul": "^0.4.1",
86
- "tap-spec": "5.x.x"
86
+ "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
87
87
  },
88
88
  "engines": {
89
89
  "node": ">=0.10.0",
@@ -117,7 +117,7 @@
117
117
  "continuous"
118
118
  ],
119
119
  "funding": {
120
- "type": "patreon",
121
- "url": "https://www.patreon.com/athan"
120
+ "type": "opencollective",
121
+ "url": "https://opencollective.com/stdlib"
122
122
  }
123
123
  }
@@ -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 t = require( './index' );
22
-
23
-
24
- // TESTS //
25
-
26
- // The exported value is the expected interface...
27
- {
28
- t; // $ExpectType Namespace
29
- }