@stdlib/stats-base-dists-t-quantile 0.2.1 → 0.2.3

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.
Files changed (3) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +14 -17
  3. package/package.json +7 -7
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2024 The Stdlib Authors.
1
+ Copyright (c) 2016-2026 The Stdlib Authors.
package/README.md CHANGED
@@ -142,20 +142,17 @@ y = myquantile( 0.9 );
142
142
  <!-- eslint no-undef: "error" -->
143
143
 
144
144
  ```javascript
145
- var randu = require( '@stdlib/random-base-randu' );
145
+ var uniform = require( '@stdlib/random-array-uniform' );
146
+ var logEachMap = require( '@stdlib/console-log-each-map' );
146
147
  var quantile = require( '@stdlib/stats-base-dists-t-quantile' );
147
148
 
148
- var v;
149
- var p;
150
- var y;
151
- var i;
152
-
153
- for ( i = 0; i < 10; i++ ) {
154
- p = randu();
155
- v = randu() * 10.0;
156
- y = quantile( p, v );
157
- console.log( 'p: %d, v: %d, Q(p;v): %d', p.toFixed( 4 ), v.toFixed( 4 ), y.toFixed( 4 ) );
158
- }
149
+ var opts = {
150
+ 'dtype': 'float64'
151
+ };
152
+ var p = uniform( 10, 0.0, 1.0, opts );
153
+ var v = uniform( 10, 0.0, 10.0, opts );
154
+
155
+ logEachMap( 'p: %0.4f, v: %0.4f, Q(p;v): %0.4f', p, v, quantile );
159
156
  ```
160
157
 
161
158
  </section>
@@ -196,7 +193,7 @@ See [LICENSE][stdlib-license].
196
193
 
197
194
  ## Copyright
198
195
 
199
- Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
196
+ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
200
197
 
201
198
  </section>
202
199
 
@@ -209,8 +206,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
209
206
  [npm-image]: http://img.shields.io/npm/v/@stdlib/stats-base-dists-t-quantile.svg
210
207
  [npm-url]: https://npmjs.org/package/@stdlib/stats-base-dists-t-quantile
211
208
 
212
- [test-image]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml/badge.svg?branch=v0.2.1
213
- [test-url]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml?query=branch:v0.2.1
209
+ [test-image]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml/badge.svg?branch=v0.2.3
210
+ [test-url]: https://github.com/stdlib-js/stats-base-dists-t-quantile/actions/workflows/test.yml?query=branch:v0.2.3
214
211
 
215
212
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-base-dists-t-quantile/main.svg
216
213
  [coverage-url]: https://codecov.io/github/stdlib-js/stats-base-dists-t-quantile?branch=main
@@ -222,8 +219,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
222
219
 
223
220
  -->
224
221
 
225
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
226
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
222
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
223
+ [chat-url]: https://stdlib.zulipchat.com
227
224
 
228
225
  [stdlib]: https://github.com/stdlib-js/stdlib
229
226
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/stats-base-dists-t-quantile",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Student's t distribution quantile function.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -30,12 +30,12 @@
30
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
31
31
  },
32
32
  "dependencies": {
33
- "@stdlib/math-base-assert-is-nan": "^0.2.1",
34
- "@stdlib/math-base-special-kernel-betaincinv": "^0.1.1",
35
- "@stdlib/math-base-special-signum": "^0.2.1",
36
- "@stdlib/math-base-special-sqrt": "^0.2.1",
37
- "@stdlib/utils-constant-function": "^0.2.1",
38
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1"
33
+ "@stdlib/math-base-assert-is-nan": "^0.2.3",
34
+ "@stdlib/math-base-special-kernel-betaincinv": "^0.2.2",
35
+ "@stdlib/math-base-special-signum": "^0.2.3",
36
+ "@stdlib/math-base-special-sqrt": "^0.2.3",
37
+ "@stdlib/utils-constant-function": "^0.2.3",
38
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.3"
39
39
  },
40
40
  "devDependencies": {},
41
41
  "engines": {