Re: Updates for the incomplete beta functions in scipy.special
Ralf Gommers <[email protected]> Thu, 11 May 2023 05:37:57 +0200
| Newsgroups | gmane.comp.python.scientific.devel |
|---|---|
| Message-ID | <CABL7CQjuuXFGhgEyYN3owhTNAtMUQTqS1oMEvc05wAL5AcDZXQ@mail.gmail.com> |
On Thu, May 11, 2023 at 12:12 AM Warren Weckesser < [email protected]> wrote: > Hey all, > > In the pull request https://github.com/scipy/scipy/pull/17697, I > propose the following changes for functions in `scipy.special` that > are related to the incomplete beta function: > > * Use boost's `ibeta` as the backend for `special.betainc` and boost's > `ibeta_inv` as the backend for `special.betaincinv`. This replaces > the Cephes-based backend for these functions. > * Add `special.betaincc` and `special.betainccinv` as wrappers of > boost's `ibetac` and `ibetac_inv`, resp. These are the > "complementary" versions of the functions. > * Make the existing names `special.btdtr` and `special.btdtri` aliases > of `special.betainc` and `special.betaincinv`, resp. > > The names for the new functions `betaincc` and `betainccinv` follow > the pattern of the names of the existing incomplete gamma functions. > That is, the names betainc, betaincinv, betaincc and betainccinv are > analogous to the existing names gammainc, gammaincinv, gammaincc and > gammainccinv. > > Because this introduces the new functions `betaincc` and > `betainccinv`, it is more than a basic maintenance change, so > feedback from the mailing list would be appreciated. > Thanks Warren. The new names are nicer, and your PR looks great. So +1 from me. Cheers, Ralf _______________________________________________ SciPy-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: [email protected]