Crate boys[−][src]
Expand description
A Rust library for calculation of the Boys function
\[ F_{n}(x) = \int_{0}^{1} t^{2n} e^{-xt^{2}} \mathop{dt} \]
via a number of methods:
- An “exact” algorithm originally from Radovan Bast.
- A non-clean-room reimplementation of Michael Böhme’s algorithm.
System dependencies
The GNU Scientific Library (GSL) is used via the rgsl
crate to provide the gamma and incomplete gamma functions for the exact implementation and the error function for Michael Böhme’s algorithm.
OS/distro | install command |
---|---|
Debian/Ubuntu | sudo apt-get install libgsl0-dev |
Arch Linux | sudo pacman -S gsl |
macOS (using Homebrew) | brew install gsl |