puruspe 0.2.4

Pure Rust Special function library
Documentation

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.