@stdlib/math-base-special-kernel-betaincinv 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 +43 -3
- package/lib/inverse_students_t.js +1 -1
- package/lib/kernel_betaincinv.js +1 -1
- package/package.json +3 -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
|
# Kernel Betaincinv
|
|
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
|
> Inverse of the lower [incomplete beta function][incomplete-beta-function].
|
|
26
26
|
|
|
@@ -97,6 +97,22 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
97
97
|
|
|
98
98
|
<!-- /.examples -->
|
|
99
99
|
|
|
100
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
101
|
+
|
|
102
|
+
<section class="related">
|
|
103
|
+
|
|
104
|
+
* * *
|
|
105
|
+
|
|
106
|
+
## See Also
|
|
107
|
+
|
|
108
|
+
- <span class="package-name">[`@stdlib/math/base/special/betaincinv`][@stdlib/math/base/special/betaincinv]</span><span class="delimiter">: </span><span class="description">inverse incomplete beta function.</span>
|
|
109
|
+
|
|
110
|
+
</section>
|
|
111
|
+
|
|
112
|
+
<!-- /.related -->
|
|
113
|
+
|
|
114
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
115
|
+
|
|
100
116
|
|
|
101
117
|
<section class="main-repo" >
|
|
102
118
|
|
|
@@ -108,6 +124,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
108
124
|
|
|
109
125
|
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].
|
|
110
126
|
|
|
127
|
+
#### Community
|
|
128
|
+
|
|
129
|
+
[![Chat][chat-image]][chat-url]
|
|
130
|
+
|
|
111
131
|
---
|
|
112
132
|
|
|
113
133
|
## License
|
|
@@ -117,7 +137,7 @@ See [LICENSE][stdlib-license].
|
|
|
117
137
|
|
|
118
138
|
## Copyright
|
|
119
139
|
|
|
120
|
-
Copyright © 2016-
|
|
140
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
121
141
|
|
|
122
142
|
</section>
|
|
123
143
|
|
|
@@ -136,9 +156,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
136
156
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-kernel-betaincinv/main.svg
|
|
137
157
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-kernel-betaincinv?branch=main
|
|
138
158
|
|
|
139
|
-
|
|
159
|
+
<!--
|
|
160
|
+
|
|
161
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-special-kernel-betaincinv.svg
|
|
140
162
|
[dependencies-url]: https://david-dm.org/stdlib-js/math-base-special-kernel-betaincinv/main
|
|
141
163
|
|
|
164
|
+
-->
|
|
165
|
+
|
|
166
|
+
[umd]: https://github.com/umdjs/umd
|
|
167
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
168
|
+
|
|
169
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/deno
|
|
170
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/umd
|
|
171
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/esm
|
|
172
|
+
|
|
173
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
174
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
175
|
+
|
|
142
176
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
143
177
|
|
|
144
178
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -147,6 +181,12 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
147
181
|
|
|
148
182
|
[incomplete-beta-function]: https://en.wikipedia.org/wiki/Incomplete_beta_function
|
|
149
183
|
|
|
184
|
+
<!-- <related-links> -->
|
|
185
|
+
|
|
186
|
+
[@stdlib/math/base/special/betaincinv]: https://www.npmjs.com/package/@stdlib/math-base-special-betaincinv
|
|
187
|
+
|
|
188
|
+
<!-- </related-links> -->
|
|
189
|
+
|
|
150
190
|
</section>
|
|
151
191
|
|
|
152
192
|
<!-- /.links -->
|
|
@@ -129,7 +129,7 @@ function inverseStudentsT( df, u, v ) {
|
|
|
129
129
|
return ( ( invert ) ? -1 : 1 ) * inverseStudentsTHill( df, u );
|
|
130
130
|
}
|
|
131
131
|
// Newton-Raphson iteration of a polynomial case, choice of seed value is taken from Shaw's online supplement:
|
|
132
|
-
a = 4.0 * ( u - (u*u) )
|
|
132
|
+
a = 4.0 * ( u - (u*u) ); // 1 - 4 * (u - 0.5f) * (u - 0.5f);
|
|
133
133
|
b = pow( a, ONE_THIRD );
|
|
134
134
|
p = 6.0 * ( 1.0 + ( C * ( (1.0/b) - 1.0 ) ) );
|
|
135
135
|
do {
|
package/lib/kernel_betaincinv.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-special-kernel-betaincinv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Inverse incomplete beta function.",
|
|
5
5
|
"license": "Apache-2.0 AND BSL-1.0",
|
|
6
6
|
"author": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"doc": "./docs",
|
|
20
20
|
"example": "./examples",
|
|
21
21
|
"lib": "./lib",
|
|
22
|
+
"scripts": "./scripts",
|
|
22
23
|
"test": "./test"
|
|
23
24
|
},
|
|
24
25
|
"types": "./docs/types",
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
"examples": "make examples",
|
|
29
30
|
"benchmark": "make benchmark"
|
|
30
31
|
},
|
|
31
|
-
"homepage": "https://
|
|
32
|
+
"homepage": "https://stdlib.io",
|
|
32
33
|
"repository": {
|
|
33
34
|
"type": "git",
|
|
34
35
|
"url": "git://github.com/stdlib-js/math-base-special-kernel-betaincinv.git"
|