#gamma #beta #special #erf

puruspe

Pure Rust Special function library

10 releases

0.2.4 Apr 4, 2024
0.2.3 Feb 18, 2024
0.2.0 May 2, 2022
0.1.5 Jan 23, 2021
0.1.3 Feb 29, 2020

#31 in Science

Download history 1186/week @ 2024-01-05 1227/week @ 2024-01-12 1390/week @ 2024-01-19 1171/week @ 2024-01-26 1466/week @ 2024-02-02 1450/week @ 2024-02-09 2133/week @ 2024-02-16 1425/week @ 2024-02-23 1340/week @ 2024-03-01 1636/week @ 2024-03-08 1610/week @ 2024-03-15 1957/week @ 2024-03-22 2052/week @ 2024-03-29 2111/week @ 2024-04-05 7777/week @ 2024-04-12 7617/week @ 2024-04-19

19,975 downloads per month
Used in 20 crates (3 directly)

MIT/Apache

51KB
1.5K SLoC

PURUSPE

On crates.io On docs.rs

PURe RUSt SPEcial function library. There are no dependencies.

Implemented Functions

Gamma functions

  • ln_gamma : Logarithmic gamma function
  • gamma : Gamma function
  • gammp : Regularized lower gamma function
  • gammq : Regularized upper gamma function
  • invgammp : Inverse regularized lower gamma function

Beta function

  • beta : Beta function
  • betai : Regularized Incomplete beta function
  • invbetai : Inverse regularized incomplete beta function

Error functions

  • erf : Error function
  • erfc : Complementary Error function
  • inverf : Inverse error function
  • inverfc : Inverse complementary error function

Bessel functions

  • Jn : Bessel function of the first kind (integer order)
  • Yn : Bessel function of the second kind (integer order)
  • In : Modified Bessel function of the first kind (integer order)
  • Kn : Modified Bessel function of the second kind (integer order)
  • Jnu_Ynu : Bessel function of the first kind and second kind (fractional order)
  • Inu_Knu : Modified Bessel function of the first kind and second kind (fractional order)
  • besseljy : Bessel function of the first and second kinds (include derivatives)
  • besseik : Modified Bessel function of the second kind (include derivatives)

Reference

  • Press, William H., and William T. Vetterling. Numerical Recipes. Cambridge: Cambridge Univ. Press, 2007.

No runtime deps