@stdlib/math-base-special-kernel-betaincinv 0.0.6 → 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/LICENSE +3 -275
- package/NOTICE +1 -1
- package/README.md +26 -18
- package/SECURITY.md +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +79 -0
- package/dist/index.js.map +7 -0
- package/docs/types/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/polyval_co1.js +1 -2
- package/lib/polyval_co10.js +1 -2
- package/lib/polyval_co11.js +1 -2
- package/lib/polyval_co12.js +1 -2
- package/lib/polyval_co13.js +1 -2
- package/lib/polyval_co14.js +1 -2
- package/lib/polyval_co15.js +1 -2
- package/lib/polyval_co16.js +1 -2
- package/lib/polyval_co17.js +1 -2
- package/lib/polyval_co18.js +1 -2
- package/lib/polyval_co19.js +1 -2
- package/lib/polyval_co2.js +1 -2
- package/lib/polyval_co20.js +1 -2
- package/lib/polyval_co21.js +1 -2
- package/lib/polyval_co22.js +1 -2
- package/lib/polyval_co3.js +1 -2
- package/lib/polyval_co4.js +1 -2
- package/lib/polyval_co5.js +1 -2
- package/lib/polyval_co6.js +1 -2
- package/lib/polyval_co7.js +1 -2
- package/lib/polyval_co8.js +1 -2
- package/lib/polyval_co9.js +1 -2
- package/package.json +44 -42
- package/docs/repl.txt +0 -39
- package/docs/types/test.ts +0 -66
- /package/lib/{kernel_betaincinv.js → main.js} +0 -0
package/LICENSE
CHANGED
|
@@ -176,98 +176,12 @@
|
|
|
176
176
|
|
|
177
177
|
END OF TERMS AND CONDITIONS
|
|
178
178
|
|
|
179
|
+
DEPENDENCIES & ATTRIBUTION
|
|
179
180
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Permission is hereby granted, free of charge, to any person or organization
|
|
184
|
-
obtaining a copy of the software and accompanying documentation covered by this
|
|
185
|
-
license (the "Software") to use, reproduce, display, distribute, execute, and
|
|
186
|
-
transmit the Software, and to prepare derivative works of the Software, and to
|
|
187
|
-
permit third-parties to whom the Software is furnished to do so, all subject to
|
|
188
|
-
the following:
|
|
189
|
-
|
|
190
|
-
The copyright notices in the Software and this entire statement, including the
|
|
191
|
-
above license grant, this restriction and the following disclaimer, must be
|
|
192
|
-
included in all copies of the Software, in whole or in part, and all derivative
|
|
193
|
-
works of the Software, unless such copies or derivative works are solely in the
|
|
194
|
-
form of machine-executable object code generated by a source language processor.
|
|
195
|
-
|
|
196
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
197
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
198
|
-
FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
199
|
-
COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES
|
|
200
|
-
OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
|
201
|
-
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
DEPENDENCIES
|
|
207
|
-
|
|
208
|
-
The library links against the following external libraries, which have their own
|
|
181
|
+
The library links against the following external libraries or contains
|
|
182
|
+
implementations from the following external libraries, which have their own
|
|
209
183
|
licenses:
|
|
210
184
|
|
|
211
|
-
* OpenBLAS <https://raw.githubusercontent.com/xianyi/OpenBLAS/
|
|
212
|
-
def146efed8d5908ea04e22668feeab7099599a0/LICENSE>
|
|
213
|
-
|
|
214
|
-
Copyright (c) 2011-2014, The OpenBLAS Project
|
|
215
|
-
All rights reserved.
|
|
216
|
-
|
|
217
|
-
Redistribution and use in source and binary forms, with or without
|
|
218
|
-
modification, are permitted provided that the following conditions are
|
|
219
|
-
met:
|
|
220
|
-
|
|
221
|
-
1. Redistributions of source code must retain the above copyright
|
|
222
|
-
notice, this list of conditions and the following disclaimer.
|
|
223
|
-
|
|
224
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
225
|
-
notice, this list of conditions and the following disclaimer in
|
|
226
|
-
the documentation and/or other materials provided with the
|
|
227
|
-
distribution.
|
|
228
|
-
|
|
229
|
-
3. Neither the name of the OpenBLAS project nor the names of
|
|
230
|
-
its contributors may be used to endorse or promote products
|
|
231
|
-
derived from this software without specific prior written
|
|
232
|
-
permission.
|
|
233
|
-
|
|
234
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
235
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
236
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
237
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
238
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
239
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
240
|
-
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
241
|
-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
242
|
-
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
|
243
|
-
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
* Electron <https://raw.githubusercontent.com/electron/electron/
|
|
247
|
-
c4cfb3e7110266b9d7ad80e1ae097c4db564501c/LICENSE>
|
|
248
|
-
|
|
249
|
-
Copyright (c) 2013-2017 GitHub Inc.
|
|
250
|
-
|
|
251
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
252
|
-
a copy of this software and associated documentation files (the
|
|
253
|
-
"Software"), to deal in the Software without restriction, including
|
|
254
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
255
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
256
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
257
|
-
the following conditions:
|
|
258
|
-
|
|
259
|
-
The above copyright notice and this permission notice shall be
|
|
260
|
-
included in all copies or substantial portions of the Software.
|
|
261
|
-
|
|
262
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
263
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
264
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
265
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
266
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
267
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
268
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
269
|
-
|
|
270
|
-
|
|
271
185
|
* Boost <http://www.boost.org/LICENSE_1_0.txt>
|
|
272
186
|
|
|
273
187
|
Boost Software License - Version 1.0 - August 17th, 2003
|
|
@@ -293,189 +207,3 @@ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
|
293
207
|
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
294
208
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
295
209
|
DEALINGS IN THE SOFTWARE.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
* Cephes <http://www.netlib.org/cephes/readme>
|
|
299
|
-
|
|
300
|
-
Copyright (c) 1984-2000 Stephen L. Moshier
|
|
301
|
-
|
|
302
|
-
Some software in this archive may be from the book _Methods and Programs for
|
|
303
|
-
Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989)
|
|
304
|
-
or from the Cephes Mathematical Library, a commercial product. In either event,
|
|
305
|
-
it is copyrighted by the author. What you see here may be used freely but it
|
|
306
|
-
comes with no support or guarantee.
|
|
307
|
-
|
|
308
|
-
Stephen L. Moshier
|
|
309
|
-
moshier@na-net.ornl.gov
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
ATTRIBUTION
|
|
314
|
-
|
|
315
|
-
The library contains implementations from the following external libraries,
|
|
316
|
-
which have their own licenses:
|
|
317
|
-
|
|
318
|
-
* FreeBSD <https://svnweb.freebsd.org/>
|
|
319
|
-
|
|
320
|
-
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
|
|
321
|
-
|
|
322
|
-
Developed at SunPro, a Sun Microsystems, Inc. business.
|
|
323
|
-
Permission to use, copy, modify, and distribute this
|
|
324
|
-
software is freely granted, provided that this notice
|
|
325
|
-
is preserved.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
* FDLIBM <http://www.netlib.org/fdlibm/>
|
|
329
|
-
|
|
330
|
-
Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
|
|
331
|
-
|
|
332
|
-
Developed at SunPro, a Sun Microsystems, Inc. business.
|
|
333
|
-
Permission to use, copy, modify, and distribute this
|
|
334
|
-
software is freely granted, provided that this notice
|
|
335
|
-
is preserved.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
* Go <https://raw.githubusercontent.com/golang/go/master/LICENSE>
|
|
339
|
-
|
|
340
|
-
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
341
|
-
|
|
342
|
-
Redistribution and use in source and binary forms, with or without
|
|
343
|
-
modification, are permitted provided that the following conditions are
|
|
344
|
-
met:
|
|
345
|
-
|
|
346
|
-
* Redistributions of source code must retain the above copyright
|
|
347
|
-
notice, this list of conditions and the following disclaimer.
|
|
348
|
-
* Redistributions in binary form must reproduce the above
|
|
349
|
-
copyright notice, this list of conditions and the following disclaimer
|
|
350
|
-
in the documentation and/or other materials provided with the
|
|
351
|
-
distribution.
|
|
352
|
-
* Neither the name of Google Inc. nor the names of its
|
|
353
|
-
contributors may be used to endorse or promote products derived from
|
|
354
|
-
this software without specific prior written permission.
|
|
355
|
-
|
|
356
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
357
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
358
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
359
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
360
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
361
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
362
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
363
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
364
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
365
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
366
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
* SLATEC Common Mathematical Library <http://www.netlib.no/netlib/slatec/>
|
|
370
|
-
|
|
371
|
-
Public domain.
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
* ESLint <https://raw.githubusercontent.com/eslint/eslint/master/LICENSE>
|
|
375
|
-
|
|
376
|
-
Copyright JS Foundation and other contributors, https://js.foundation
|
|
377
|
-
|
|
378
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
379
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
380
|
-
in the Software without restriction, including without limitation the rights
|
|
381
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
382
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
383
|
-
furnished to do so, subject to the following conditions:
|
|
384
|
-
|
|
385
|
-
The above copyright notice and this permission notice shall be included in
|
|
386
|
-
all copies or substantial portions of the Software.
|
|
387
|
-
|
|
388
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
389
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
390
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
391
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
392
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
393
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
394
|
-
THE SOFTWARE.
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
* StatsFuns.jl <https://raw.githubusercontent.com/JuliaStats/StatsFuns.jl/
|
|
398
|
-
e66dd973650c375bc1739c820e5b96bb5bd000a8/LICENSE.md>
|
|
399
|
-
|
|
400
|
-
Copyright (c) 2015: Dahua Lin.
|
|
401
|
-
|
|
402
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
403
|
-
a copy of this software and associated documentation files (the
|
|
404
|
-
"Software"), to deal in the Software without restriction, including
|
|
405
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
406
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
407
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
408
|
-
the following conditions:
|
|
409
|
-
|
|
410
|
-
The above copyright notice and this permission notice shall be
|
|
411
|
-
included in all copies or substantial portions of the Software.
|
|
412
|
-
|
|
413
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
414
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
415
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
416
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
417
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
418
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
419
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
* SpecialFunctions.jl <https://raw.githubusercontent.com/JuliaMath/
|
|
423
|
-
SpecialFunctions.jl/02a173fbe24a61c4b392aec17a9764ac5727feb1/LICENSE>
|
|
424
|
-
|
|
425
|
-
The MIT License (MIT)
|
|
426
|
-
|
|
427
|
-
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
|
|
428
|
-
|
|
429
|
-
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
|
|
430
|
-
|
|
431
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
432
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
433
|
-
in the Software without restriction, including without limitation the rights
|
|
434
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
435
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
436
|
-
furnished to do so, subject to the following conditions:
|
|
437
|
-
|
|
438
|
-
The above copyright notice and this permission notice shall be included in all
|
|
439
|
-
copies or substantial portions of the Software.
|
|
440
|
-
|
|
441
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
442
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
443
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
444
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
445
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
446
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
447
|
-
SOFTWARE.
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
* MT19937 <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/
|
|
451
|
-
mt19937ar.c>
|
|
452
|
-
|
|
453
|
-
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
|
|
454
|
-
All rights reserved.
|
|
455
|
-
|
|
456
|
-
Redistribution and use in source and binary forms, with or without
|
|
457
|
-
modification, are permitted provided that the following conditions
|
|
458
|
-
are met:
|
|
459
|
-
|
|
460
|
-
1. Redistributions of source code must retain the above copyright
|
|
461
|
-
notice, this list of conditions and the following disclaimer.
|
|
462
|
-
|
|
463
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
464
|
-
notice, this list of conditions and the following disclaimer in the
|
|
465
|
-
documentation and/or other materials provided with the distribution.
|
|
466
|
-
|
|
467
|
-
3. The names of its contributors may not be used to endorse or promote
|
|
468
|
-
products derived from this software without specific prior written
|
|
469
|
-
permission.
|
|
470
|
-
|
|
471
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
472
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
473
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
474
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
475
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
476
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
477
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
478
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
479
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
480
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
481
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
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
|
# Kernel Betaincinv
|
|
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] -->
|
|
@@ -105,7 +116,7 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
105
116
|
|
|
106
117
|
## See Also
|
|
107
118
|
|
|
108
|
-
- <span class="package-name">[`@stdlib/math
|
|
119
|
+
- <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
120
|
|
|
110
121
|
</section>
|
|
111
122
|
|
|
@@ -130,14 +141,9 @@ For more information on the project, filing bug reports and feature requests, an
|
|
|
130
141
|
|
|
131
142
|
---
|
|
132
143
|
|
|
133
|
-
## License
|
|
134
|
-
|
|
135
|
-
See [LICENSE][stdlib-license].
|
|
136
|
-
|
|
137
|
-
|
|
138
144
|
## Copyright
|
|
139
145
|
|
|
140
|
-
Copyright © 2016-
|
|
146
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
141
147
|
|
|
142
148
|
</section>
|
|
143
149
|
|
|
@@ -150,8 +156,8 @@ Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
|
150
156
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-kernel-betaincinv.svg
|
|
151
157
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-special-kernel-betaincinv
|
|
152
158
|
|
|
153
|
-
[test-image]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/actions/workflows/test.yml/badge.svg
|
|
154
|
-
[test-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/actions/workflows/test.yml
|
|
159
|
+
[test-image]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
160
|
+
[test-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/actions/workflows/test.yml?query=branch:v0.2.0
|
|
155
161
|
|
|
156
162
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-kernel-betaincinv/main.svg
|
|
157
163
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-kernel-betaincinv?branch=main
|
|
@@ -163,21 +169,23 @@ Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
|
163
169
|
|
|
164
170
|
-->
|
|
165
171
|
|
|
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
172
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
174
|
-
[chat-url]: https://gitter.im
|
|
173
|
+
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
|
|
175
174
|
|
|
176
175
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
177
176
|
|
|
178
177
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
179
178
|
|
|
180
|
-
[
|
|
179
|
+
[umd]: https://github.com/umdjs/umd
|
|
180
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
181
|
+
|
|
182
|
+
[deno-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/deno
|
|
183
|
+
[deno-readme]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/blob/deno/README.md
|
|
184
|
+
[umd-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/umd
|
|
185
|
+
[umd-readme]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/blob/umd/README.md
|
|
186
|
+
[esm-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/tree/esm
|
|
187
|
+
[esm-readme]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/blob/esm/README.md
|
|
188
|
+
[branches-url]: https://github.com/stdlib-js/math-base-special-kernel-betaincinv/blob/main/branches.md
|
|
181
189
|
|
|
182
190
|
[incomplete-beta-function]: https://en.wikipedia.org/wiki/Incomplete_beta_function
|
|
183
191
|
|
package/SECURITY.md
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";var S=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var o0=S(function(x1,s0){
|
|
2
|
+
function $r(r){return r===0?.16666666666666666:.16666666666666666+r*.16666666666666666}s0.exports=$r
|
|
3
|
+
});var c0=S(function(r2,n0){
|
|
4
|
+
function gr(r){return r===0?.058333333333333334:.058333333333333334+r*(.06666666666666667+r*.008333333333333333)}n0.exports=gr
|
|
5
|
+
});var q0=S(function(e2,f0){
|
|
6
|
+
function br(r){return r===0?.0251984126984127:.0251984126984127+r*(.026785714285714284+r*(.0017857142857142857+r*.0001984126984126984))}f0.exports=br
|
|
7
|
+
});var y0=S(function(v2,p0){
|
|
8
|
+
function mr(r){return r===0?.012039792768959435:.012039792768959435+r*(.010559964726631394+r*(-.0011078042328042327+r*(.0003747795414462081+r*27557319223985893e-22)))}p0.exports=mr
|
|
9
|
+
});var I0=S(function(t2,w0){
|
|
10
|
+
function dr(r){return r===0?.003837005972422639:.003837005972422639+r*(.00610392115600449+r*(-.0016095979637646305+r*(.0005945867404200738+r*(-6270542728876062e-20+r*2505210838544172e-23))))}w0.exports=dr
|
|
11
|
+
});var S0=S(function(i2,T0){
|
|
12
|
+
function xr(r){return r===0?.0032177478835464946:.0032177478835464946+r*(.0010898206731540065+r*(-.0012579159844784845+r*(.0006908420797309686+r*(-.00016376804137220805+r*(154012654012654e-19+r*16059043836821613e-26)))))}T0.exports=xr
|
|
13
|
+
});var A0=S(function(a2,R0){
|
|
14
|
+
function re(r){return r===0?.001743826229834001:.001743826229834001+r*(3353097688001788e-20+r*(-.0007624513544032393+r*(.0006451304695145635+r*(-.000249472580470431+r*(49255746366361444e-21+r*(-39851014346715405e-22+r*7647163731819816e-28))))))}R0.exports=re
|
|
15
|
+
});var _0=S(function(u2,L0){
|
|
16
|
+
function ee(r){return r===0?.0009647274732138864:.0009647274732138864+r*(-.0003110108632631878+r*(-.00036307660358786886+r*(.0005140660578834113+r*(-.00029133414466938067+r*(9086710793521991e-20+r*(-15303004486655377e-21+r*(10914179173496788e-22+r*28114572543455206e-31)))))))}L0.exports=ee
|
|
17
|
+
});var h0=S(function(l2,k0){
|
|
18
|
+
function ve(r){return r===0?.0005422926281312969:.0005422926281312969+r*(-.0003694266780000966+r*(-.00010230378073700413+r*(.00035764655430568635+r*(-.00028690924218514614+r*(.00012645437628698076+r*(-33202652391372056e-21+r*(4890304529197534e-21+r*(-3123956959982987e-22+r*822063524662433e-32))))))))}k0.exports=ve
|
|
19
|
+
});var F0=S(function(s2,B0){
|
|
20
|
+
var te=require('@stdlib/math-base-special-gamma-delta-ratio/dist'),ie=require('@stdlib/math-base-tools-evalpoly/dist'),ae=require('@stdlib/math-base-special-sqrt/dist'),ue=require('@stdlib/constants-float64-pi/dist'),le=o0(),se=c0(),oe=q0(),ne=y0(),ce=I0(),fe=S0(),qe=A0(),pe=_0(),ye=h0(),we=0,P=[1,0,0,0,0,0,0,0,0,0];function Ie(r,e){var v,t;return t=te(r/2,.5)*ae(r*ue)*(e-.5),v=1/r,P[1]=le(v),P[2]=se(v),P[3]=oe(v),P[4]=ne(v),P[5]=ce(v),P[6]=fe(v),P[7]=qe(v),P[8]=pe(v),P[9]=ye(v),we+t*ie(P,t*t)}B0.exports=Ie
|
|
21
|
+
});var E0=S(function(o2,O0){
|
|
22
|
+
var Te=require('@stdlib/math-base-special-gamma-delta-ratio/dist'),Se=require('@stdlib/math-base-tools-evalpoly/dist'),M0=require('@stdlib/math-base-special-sqrt/dist'),Re=require('@stdlib/math-base-special-pow/dist'),Ae=require('@stdlib/constants-float64-pi/dist'),C=[0,0,0,0,0,0,0];function Le(r,e){var v,t,q,i,o,a,u,w;return w=Te(r/2,.5)*M0(r*Ae)*e,i=r+2,o=r+4,a=r+6,C[0]=1,C[1]=-(r+1)/(2*i),i*=r+2,C[2]=-r*(r+1)*(r+3)/(8*i*o),i*=r+2,C[3]=-r*(r+1)*(r+5)*((3*r+7)*r-2)/(48*i*o*a),i*=r+2,o*=r+4,C[4]=-r*(r+1)*(r+7)*(((((15*r+154)*r+465)*r+286)*r-336)*r+64)/(384*i*o*a*(r+8)),i*=r+2,C[5]=-r*(r+1)*(r+3)*(r+9)*((((((35*r+452)*r+1573)*r+600)*r-2020)*r+928)*r-128)/(1280*i*o*a*(r+8)*(r+10)),i*=r+2,o*=r+4,a*=r+6,C[6]=-r*(r+1)*(r+11)*(((((((((((945*r+31506)*r+425858)*r+2980236)*r+11266745)*r+20675018)*r+7747124)*r-22574632)*r-8565600)*r+18108416)*r-7099392)*r+884736)/(46080*i*o*a*(r+8)*(r+10)*(r+12)),u=M0(r),q=Re(u*w,1/r),t=q*q,v=Se(C,t),v*=u,v/=q,-v}O0.exports=Le
|
|
23
|
+
});var X0=S(function(n2,P0){
|
|
24
|
+
var D0=require('@stdlib/math-base-special-erfcinv/dist'),_e=require('@stdlib/math-base-special-expm1/dist'),N0=require('@stdlib/math-base-special-sqrt/dist'),ke=require('@stdlib/math-base-special-pow/dist'),he=require('@stdlib/constants-float64-half-pi/dist'),H0=require('@stdlib/constants-float64-sqrt-two/dist');function Be(r,e){var v,t,q,i,o,a,u;return r>1e20?-D0(2*e)*H0:(v=1/(r-.5),t=48/(v*v),q=((20700*v/t-98)*v-16)*v+96.36,i=((94.5/(t+q)-3)/t+1)*N0(v*he)*r,u=ke(i*2*e,2/r),u>.05+v?(a=-D0(2*e)*H0,u=a*a,r<5&&(q+=.3*(r-4.5)*(a+.6)),q+=(((.05*i*a-5)*a-7)*a-2)*a+t,u=(((((.4*u+6.3)*u+36)*u+94.5)/q-u-3)/t+1)*a,u=_e(v*u*u)):u=((1/(((r+6)/(r*u)-.089*i-.822)*(r+2)*3)+.5/(r+4))*u-1)*(r+1)/(r+2)+1/u,o=N0(r*u),-o)}P0.exports=Be
|
|
25
|
+
});var W0=S(function(c2,K0){
|
|
26
|
+
var U0=require('@stdlib/math-base-special-erfcinv/dist'),Q0=require('@stdlib/math-base-special-floor/dist'),m=require('@stdlib/math-base-special-ldexp/dist'),V0=require('@stdlib/math-base-special-round/dist'),Fe=require('@stdlib/math-base-special-acos/dist'),Y=require('@stdlib/math-base-special-sqrt/dist'),Me=require('@stdlib/math-base-special-abs/dist'),G0=require('@stdlib/math-base-special-cos/dist'),Oe=require('@stdlib/math-base-special-pow/dist'),Ee=require('@stdlib/math-base-special-sin/dist'),C0=require('@stdlib/constants-float64-sqrt-two/dist'),j0=require('@stdlib/constants-float64-pi/dist'),z0=F0(),Z=E0(),d=X0(),J0=268435456,De=1/3,Ne=2*53/3,He=.8549879733383485;function Pe(r,e,v){var t,q,i,o,a,u,w,y,c,p,_,l,n,A,f,B;if(a=0,e>v?(w=v,v=e,e=w,o=!0):o=!1,Q0(r)===r&&r<20)switch(q=m(1,Ne),Q0(r)){case 1:e===.5?a=0:a=-G0(j0*e)/Ee(j0*e);break;case 2:a=(2*e-1)/Y(2*e*v);break;case 4:u=4*e*v,i=Y(u),n=4*G0(Fe(i)/3)/i,A=Y(n-4),a=e-.5<0?-A:A;break;case 6:if(e<1e-150)return(o?-1:1)*d(r,e);f=4*(e-e*e),B=Oe(f,De),l=6*(1+He*(1/B-1));do c=l*l,p=c*c,_=l*p,y=l,l=2*(8*f*_-270*c+2187)/(5*(4*f*p-216*l-243));while(Me((l-y)/l)>q);l=Y(l-r),a=e-.5<0?-l:l;break;default:r>J0?a=U0(2*e)*C0:r<3?(t=.2742-r*.0242143,e>t?a=z0(r,e):a=Z(r,e)):(t=m(1,V0(r/-.654)),e>t?a=d(r,e):a=Z(r,e))}else r>J0?a=-U0(2*e)*C0:r<3?(t=.2742-r*.0242143,e>t?a=z0(r,e):a=Z(r,e)):(t=m(1,V0(r/-.654)),e>t?a=d(r,e):a=Z(r,e));return o?-a:a}K0.exports=Pe
|
|
27
|
+
});var Z0=S(function(f2,Y0){
|
|
28
|
+
var Xe=W0();function Ue(r,e,v){var t,q,i,o;return q=e/2,i=1-q,t=r*2,o=Xe(t,q,i),v&&(v.value=o*o/(t+o*o)),t/(t+o*o)}Y0.exports=Ue
|
|
29
|
+
});var b0=S(function(q2,g0){
|
|
30
|
+
var $=require('@stdlib/math-base-tools-evalpoly/dist'),Qe=require('@stdlib/math-base-special-erfcinv/dist'),$0=require('@stdlib/math-base-special-sqrt/dist'),Ve=require('@stdlib/math-base-special-exp/dist'),G=require('@stdlib/constants-float64-sqrt-two/dist'),F=[0,0,0,0,0,0,0],K=[0,0,0,0];function Ge(r,e,v){var t,q,i,o,a,u,w;return t=Qe(2*v),t/=-$0(r/2),K[0]=t,u=e-r,o=u*u,a=o*u,F[0]=-u*G/2,F[1]=(1-2*u)/8,F[2]=-(u*G/48),F[3]=-1/192,F[4]=-u*G/3840,F[5]=0,F[6]=0,K[1]=$(F,t),F[0]=u*G*(3*u-2)/12,F[1]=(20*o-12*u+1)/128,F[2]=u*G*(20*u-1)/960,F[3]=(16*o+30*u-15)/4608,F[4]=u*G*(21*u+32)/53760,F[5]=(-(32*o)+63)/368640,F[6]=-u*G*(120*u+17)/25804480,K[2]=$(F,t),F[0]=u*G*(-75*o+80*u-16)/480,F[1]=(-1080*a+868*o-90*u-45)/9216,F[2]=u*G*(-1190*o+84*u+373)/53760,F[3]=(-2240*a-2508*o+2100*u-165)/368640,F[4]=0,F[5]=0,F[6]=0,K[3]=$(F,t),i=$(K,1/r),q=i*i,w=-Ve(-q/2),q===0?.5:(1+i*$0((1+w)/q))/2}g0.exports=Ge
|
|
31
|
+
});var x=S(function(p2,d0){
|
|
32
|
+
var m0=require('@stdlib/math-base-special-ln/dist'),Ce=require('@stdlib/constants-float64-max/dist'),g=Ce/4;function je(r,e){return v;function v(t){var q,i,o;return o=1-t,o===0?[-g,-g]:t===0?[-g,-g]:(i=m0(t)+e*m0(o)+r,q=1/t-e/o,[i,q])}}d0.exports=je
|
|
33
|
+
});var e0=S(function(y2,rr){
|
|
34
|
+
var x0=require('@stdlib/math-base-special-signum/dist'),b=require('@stdlib/math-base-special-abs/dist'),ze=require('@stdlib/math-base-special-ldexp/dist'),r0=require('@stdlib/constants-float64-max/dist');function Je(r,e,v,t,q,i){var o,a,u,w,y,c,p,_,l,n;l=0,o=0,y=e,w=ze(1,1-q),p=r0,a=r0,u=r0,c=i;do{if(o=l,u=a,a=p,_=r(y),l=_[0],n=_[1],c-=1,l===0)break;if(n===0?(o===0&&(y===v?e=t:e=v,o=r(e),p=e-y),x0(o)*x0(l)<0?p<0?p=(y-v)/2:p=(y-t)/2:p<0?p=(y-t)/2:p=(y-v)/2):p=l/n,b(p*2)>b(u)&&(p=p>0?(y-v)/2:(y-t)/2),e=y,y-=p,y<=v){if(p=.5*(e-v),y=e-p,y===v||y===t)break}else if(y>=t&&(p=.5*(e-t),y=e-p,y===v||y===t))break;p>0?t=e:v=e}while(c&&b(y*w)<b(p));return y}rr.exports=Je
|
|
35
|
+
});var vr=S(function(w2,er){
|
|
36
|
+
function Ke(r){return r===0?-1:-1+r*(-5+r*5)}er.exports=Ke
|
|
37
|
+
});var ir=S(function(I2,tr){
|
|
38
|
+
function We(r){return r===0?1:1+r*(21+r*(-69+r*46))}tr.exports=We
|
|
39
|
+
});var ur=S(function(T2,ar){
|
|
40
|
+
function Ye(r){return r===0?7:7+r*(-2+r*(33+r*(-62+r*31)))}ar.exports=Ye
|
|
41
|
+
});var sr=S(function(S2,lr){
|
|
42
|
+
function Ze(r){return r===0?25:25+r*(-52+r*(-17+r*(88+r*(-115+r*46))))}lr.exports=Ze
|
|
43
|
+
});var nr=S(function(R2,or){
|
|
44
|
+
function $e(r){return r===0?7:7+r*(12+r*(-78+r*52))}or.exports=$e
|
|
45
|
+
});var fr=S(function(A2,cr){
|
|
46
|
+
function ge(r){return r===0?-7:-7+r*(2+r*(183+r*(-370+r*185)))}cr.exports=ge
|
|
47
|
+
});var pr=S(function(L2,qr){
|
|
48
|
+
function be(r){return r===0?-533:-533+r*(776+r*(-1835+r*(10240+r*(-13525+r*5410))))}qr.exports=be
|
|
49
|
+
});var wr=S(function(_2,yr){
|
|
50
|
+
function me(r){return r===0?-1579:-1579+r*(3747+r*(-3372+r*(-15821+r*(45588+r*(-45213+r*15071)))))}yr.exports=me
|
|
51
|
+
});var Tr=S(function(k2,Ir){
|
|
52
|
+
function de(r){return r===0?449:449+r*(-1259+r*(-769+r*(6686+r*(-9260+r*3704))))}Ir.exports=de
|
|
53
|
+
});var Rr=S(function(h2,Sr){
|
|
54
|
+
function xe(r){return r===0?63149:63149+r*(-151557+r*(140052+r*(-727469+r*(2239932+r*(-2251437+r*750479)))))}Sr.exports=xe
|
|
55
|
+
});var Lr=S(function(B2,Ar){
|
|
56
|
+
function r1(r){return r===0?29233:29233+r*(-78755+r*(105222+r*(146879+r*(-1602610+r*(3195183+r*(-2554139+r*729754))))))}Ar.exports=r1
|
|
57
|
+
});var kr=S(function(F2,_r){
|
|
58
|
+
function e1(r){return r===0?1:1+r*(-13+r*13)}_r.exports=e1
|
|
59
|
+
});var Br=S(function(M2,hr){
|
|
60
|
+
function v1(r){return r===0?1:1+r*(21+r*(-69+r*46))}hr.exports=v1
|
|
61
|
+
});var Or=S(function(O2,Mr){
|
|
62
|
+
var z=require('@stdlib/math-base-tools-evalpoly/dist'),t1=require('@stdlib/math-base-special-erfcinv/dist'),i1=require('@stdlib/math-base-special-abs/dist'),a1=require('@stdlib/math-base-special-exp/dist'),Fr=require('@stdlib/math-base-special-ln/dist'),u1=require('@stdlib/math-base-special-sqrt/dist'),l1=require('@stdlib/math-base-special-sin/dist'),s1=require('@stdlib/math-base-special-cos/dist'),o1=x(),n1=e0(),c1=vr(),f1=ir(),q1=ur(),p1=sr(),y1=nr(),w1=fr(),I1=pr(),T1=wr(),S1=Tr(),R1=Rr(),A1=Lr(),L1=kr(),_1=Br(),R=[0,0,0,0,0,0],W=[0,0,0,0];function k1(r,e,v){var t,q,i,o,a,u,w,y,c,p,_,l,n,A,f,B,h,M,k,T;return a=t1(2*r)/-u1(e/2),M=l1(v),h=s1(v),W[0]=a,f=M*M,B=h*h,n=M*h,l=n*n,_=l*n,p=l*l,c=l*_,y=_*_,w=p*_,R[0]=(2*f-1)/(3*n),R[1]=-c1(f)/(36*l),R[2]=f1(f)/(1620*_),R[3]=q1(f)/(6480*p),R[4]=p1(f)/(90720*c),R[5]=0,W[1]=z(R,a),R[0]=-y1(f)/(405*_),R[1]=w1(f)/(2592*p),R[2]=-I1(f)/(204120*c),R[3]=-T1(f)/(2099520*y),R[4]=0,R[5]=0,W[2]=z(R,a),R[0]=S1(f)/(102060*c),R[1]=-R1(f)/(20995200*y),R[2]=A1(f)/(36741600*w),R[3]=0,R[4]=0,R[5]=0,W[3]=z(R,a),u=z(W,1/e),i=h/M,i*=i,A=-(u*u)/(2*f)+Fr(f)+B*Fr(B)/f,i1(u)<.7?(R[0]=f,R[1]=n,R[2]=(1-2*f)/3,R[3]=L1(f)/(36*n),R[4]=_1(f)/(270*l),R[5]=0,T=z(R,u)):(k=a1(A),R[0]=k,R[1]=i,R[2]=0,R[3]=3*i*(3*i+1)/6,R[4]=4*i*(4*i+1)*(4*i+2)/24,R[5]=5*i*(5*i+1)*(5*i+2)*(5*i+3)/120,T=z(R,k),(T-f)*u<0&&(T=1-T)),u<0?(q=0,t=f):(q=f,t=1),(T<q||T>t)&&(T=(q+t)/2),o=o1(-A,i),T=n1(o,T,q,t,32,100),T}Mr.exports=k1
|
|
63
|
+
});var Hr=S(function(E2,Nr){
|
|
64
|
+
var Er=require('@stdlib/math-base-special-gammaincinv/dist'),Dr=require('@stdlib/math-base-special-ln/dist'),h1=require('@stdlib/math-base-special-sqrt/dist'),B1=require('@stdlib/constants-float64-smallest-subnormal/dist'),F1=x(),M1=e0();function O1(r,e,v,t){var q,i,o,a,u,w,y,c,p,_,l,n,A,f,B,h,M,k,T,I,E,D,N,U,Q,V,H,s,L,l0;return v<t?u=Er(v,e,!0):u=Er(t,e,!1),u/=r,f=e/r,s=h1(1+f),k=s*s,T=k*s,I=k*k,E=T*k,D=T*T,N=I*T,U=I*I,Q=E*I,y=E*E,H=u-f,B=H*H,h=B*H,M=B*B,V=s+1,c=V*V,p=V*c,_=c*c,l=(s+2)*(s-1)/(3*s),l+=(T+9*k+21*s+5)*H/(36*k*V),l-=(I-13*T+69*k+167*s+46)*B/(1620*c*T),l-=(7*E+21*I+70*T+26*k-93*s-31)*h/(6480*p*I),l-=(75*D+202*E+188*I-888*T-1345*k+118*s+138)*M/(272160*_*E),n=(28*I+131*T+402*k+581*s+208)*(s-1)/(1620*V*T),n-=(35*D-154*E-623*I-1636*T-3983*k-3514*s-925)*H/(12960*c*I),n-=(2132*N+7915*D+16821*E+35066*I+87490*T+141183*k+95993*s+21640)*B/(816480*E*p),n-=(11053*U+53308*N+117010*D+163924*E+116188*I-258428*T-677042*k-481940*s-105497)*h/(14696640*_*D),A=-((3592*N+8375*D-1323*E-29198*I-89578*T-154413*k-116063*s-29632)*(s-1))/(816480*E*c),A-=(442043*Q+2054169*U+3803094*N+3470754*D+2141568*E-2393568*I-19904934*T-34714674*k-23128299*s-5253353)*H/(146966400*D*p),A-=(116932*y+819281*Q+2378172*U+4341330*N+6806004*D+10622748*E+18739500*I+30651894*T+30869976*k+15431867*s+2919016)*B/(146966400*_*N),w=u+l/r+n/(r*r)+A/(r*r*r),w<=0&&(w=B1),L=w-f*Dr(w)+(1+f)*Dr(1+f)-f,q=1/(1+f),o=w<f?q:0,a=w<f?1:q,l0=(o+a)/2,i=F1(L,f),M1(i,l0,o,a,32,100)}Nr.exports=O1
|
|
65
|
+
});var Xr=S(function(D2,Pr){
|
|
66
|
+
var O=require('@stdlib/math-base-special-abs/dist'),E1=require('@stdlib/math-base-special-ldexp/dist'),v0=require('@stdlib/math-base-special-signum/dist'),D1=require('@stdlib/math-base-special-max/dist'),t0=require('@stdlib/constants-float64-max/dist');function N1(r,e,v,t,q,i){var o,a,u,w,y,c,p,_,l,n,A,f,B,h,M,k;h=0,a=!1,c=e,y=E1(1,1-q),l=D1(1e7*e,1e7),p=0,u=l,w=l,_=i;do{if(p=h,w=u,u=l,B=r(c),h=B[0],M=B[1],k=B[2],_-=1,h===0)break;if(M===0?(p===0&&(c===v?e=t:e=v,p=r(e),l=e-c),v0(p)*v0(h)<0?l<0?l=(c-v)/2:l=(c-t)/2:l<0?l=(c-t)/2:l=(c-v)/2):k===0?l=h/M:(n=2*h,f=2*M-h*(k/M),O(f)<1&&O(n)>=O(f)*t0?l=h/M:l=n/f,l*M/h<0&&(l=h/M,O(l)>2*O(e)&&(l=(l<0?-1:1)*2*O(e)))),o=O(l/w),o>.8&&o<2&&(l=l>0?(c-v)/2:(c-t)/2,O(l)>c&&(l=v0(l)*c),w=l*3),e=c,c-=l,c<v){if(O(v)<1&&O(c)>1&&t0/O(c)<O(v)?A=1e3:A=c/v,O(A)<1&&(A=1/A),!a&&A>0&&A<3)l=.99*(e-v),c=e-l,a=!0;else if(l=(e-v)/2,c=e-l,c===v||c===t)break}else if(c>t){if(O(t)<1&&O(c)>1&&t0/O(c)<O(t)?A=1e3:A=c/t,O(A)<1&&(A=1/A),!a&&A>0&&A<3)l=.99*(e-t),c=e-l,a=!0;else if(l=(e-t)/2,c=e-l,c===v||c===t)break}l>0?t=e:v=e}while(_&&O(c*y)<O(l));return c}Pr.exports=N1
|
|
67
|
+
});var Qr=S(function(N2,Ur){
|
|
68
|
+
var H1=require('@stdlib/math-base-special-kernel-betainc/dist').assign,P1=require('@stdlib/math-base-special-abs/dist'),X1=require('@stdlib/constants-float64-max/dist'),i0=require('@stdlib/constants-float64-smallest-normal/dist');function U1(r,e,v,t){return q;function q(i){var o,a,u,w,y;return y=1-i,o=[0,0],H1(i,r,e,!0,t,o,1,0),w=o[0]-v,a=o[1],t&&(a=-a),y===0&&(y=i0*64),i===0&&(i=i0*64),u=a*(-(y*r)+(e-2)*i+1),P1(u)<y*i*X1&&(u/=y*i),t&&(u=-u),a===0&&(a=(t?-1:1)*i0*64),[w,a,u]}}Ur.exports=U1
|
|
69
|
+
});var Zr=S(function(H2,Yr){
|
|
70
|
+
var Q1=require('@stdlib/math-base-tools-evalpoly/dist'),Vr=require('@stdlib/math-base-special-betainc/dist'),a0=require('@stdlib/math-base-special-expm1/dist'),Gr=require('@stdlib/math-base-special-log1p/dist'),V1=require('@stdlib/math-base-special-asin/dist'),J=require('@stdlib/math-base-special-beta/dist'),Cr=require('@stdlib/math-base-special-sqrt/dist'),G1=require('@stdlib/math-base-special-abs/dist'),jr=require('@stdlib/math-base-special-exp/dist'),X=require('@stdlib/math-base-special-pow/dist'),zr=require('@stdlib/math-base-special-sin/dist'),C1=require('@stdlib/math-base-special-max/dist'),j1=require('@stdlib/math-base-special-min/dist'),Jr=require('@stdlib/math-base-special-ln/dist'),u0=require('@stdlib/constants-float64-smallest-normal/dist'),Kr=require('@stdlib/constants-float64-half-pi/dist'),Wr=require('@stdlib/constants-float64-eps/dist'),z1=Z0(),J1=b0(),K1=Or(),W1=Hr(),Y1=Xr(),Z1=Qr(),$1=32,g1=1e3,j=[0,0,0,0,0];function b1(r,e,v,t){var q,i,o,a,u,w,y,c,p,_,l,n,A,f,B,h,M,k,T,I,E,D,N,U,Q,V,H,s,L;if(i=!1,t===0)return[1,0];if(v===0)return[0,1];if(r===1){if(e===1)return[v,1-v];n=e,e=r,r=n,n=t,t=v,v=n,i=!0}if(s=0,a=0,w=1,r===.5){if(e===.5)return s=zr(v*Kr),s*=s,L=zr(t*Kr),L*=L,[s,L];e>.5&&(n=e,e=r,r=n,n=t,t=v,v=n,i=!i)}if(e===.5&&r>=.5&&v!==1)E={},s=z1(r,v,E),L=E.value;else{if(e===1)return v<t?r>1?(s=X(v,1/r),L=-a0(Jr(v)/r)):(s=X(v,1/r),L=1-s):(s=jr(Gr(-t)/r),L=-a0(Gr(-t)/r)),i&&(n=L,L=s,s=n),[s,L];if(r+e>5)v>.5&&(n=e,e=r,r=n,n=t,t=v,v=n,i=!i),p=j1(r,e),c=C1(r,e),Cr(p)>c-p&&p>5?(s=J1(r,e,v),L=1-s):(Q=r+e,u=V1(Cr(r/Q)),o=p/Q,o>=.2&&o<=.8&&Q>=10?(l=X(v,1/r),l<.0025&&r+e<200?s=l*X(r*J(r,e),1/r):s=K1(v,Q,u),L=1-s):(r<e&&(n=e,e=r,r=n,n=t,t=v,v=n,i=!i),_=0,e<2&&(_=J(r,e)),_===0?L=1:(L=X(e*t*_,1/e),s=1-L)),L>1e-5&&(s=W1(r,e,v,t),L=1-s));else if(r<1&&e<1){if(I=(1-r)/(2-r-e),h=Vr(I,r,e)-v,G1(h)/v<Wr*3)return i?[1-I,I]:[I,1-I];h<0&&(n=e,e=r,r=n,n=t,t=v,v=n,i=!i,I=1-I),T=X(r*v*J(r,e),1/r),s=T/(1+T),L=1/(1+T),s>I&&(s=I),w=I}else r>1&&e>1?(I=(r-1)/(r+e-2),A=(e-1)/(r+e-2),k=Vr(I,r,e)-v,k<0&&(n=e,e=r,r=n,n=t,t=v,v=n,n=A,A=I,I=n,i=!i),M=Jr(v*r*J(r,e))/r,s=jr(M),L=s<.9?1-s:-a0(M),e<r&&s<.2&&(f=r-1,B=e-1,D=r*r,N=r*D,U=e*e,j[0]=0,j[1]=1,j[2]=B/f,f*=f,j[3]=B*(3*r*e+5*e+D-r-4)/(2*(r+2)*f),f*=r+1,j[4]=B*(33*r*U+31*U+8*D*U-30*r*e-47*e+11*D*e+6*N*e+18+4*r-N+D*D-10*D),j[4]/=3*(r+3)*(r+2)*f,s=Q1(j,s)),s>I&&(s=I),w=I):(e<r&&(n=e,e=r,r=n,n=t,t=v,v=n,i=!i),X(v,1/r)<.5?(s=X(v*r*J(r,e),1/r),s===0&&(s=u0),L=1-s):(L=X(1-X(v,e*J(r,e)),1/e),L===0&&(L=u0),s=1-L))}return s>.5&&(n=e,e=r,r=n,n=t,t=v,v=n,n=L,L=s,s=n,i=!i,V=1-w,H=1-a,a=V,w=H),a===0&&(i?(a=Wr,s<a&&(s=a)):a=u0,s<a&&(s=a)),q=$1,s<1e-50&&(r<1||e<1)&&(q*=3,q/=2),y=Z1(r,e,v<t?v:t,v>=t),s=Y1(y,s,a,w,q,g1),s===a&&(s=0),i?[1-s,s]:[s,1-s]}Yr.exports=b1
|
|
71
|
+
});var m1=Zr();module.exports=m1;
|
|
72
|
+
/** @license Apache-2.0 */
|
|
73
|
+
/** @license Apache-2.0 */
|
|
74
|
+
/** @license Apache-2.0 */
|
|
75
|
+
/** @license Apache-2.0 */
|
|
76
|
+
/** @license Apache-2.0 */
|
|
77
|
+
/** @license Apache-2.0 */
|
|
78
|
+
/** @license Apache-2.0 */
|
|
79
|
+
//# sourceMappingURL=index.js.map
|