JuliaMath / SpecialFunctions.jl

Special mathematical functions in Julia
https://specialfunctions.juliamath.org/stable/
Other
350 stars 98 forks source link
julia math special-functions

SpecialFunctions.jl

Special mathematical functions in Julia, include Bessel, Hankel, Airy, error, Dawson, exponential (or sine and cosine) integrals, eta, zeta, digamma, inverse digamma, trigamma, and polygamma functions. Most of these functions were formerly part of Base in early versions of Julia.

CI (Linux, macOS, FreeBSD, Windows): CI codecov

Documentation: Documentation Documentation

Test status (most recent release): PkgEval

Upgrading from SpecialFunctions 1

SpecialFunctions 2 has only a single breaking change: The removal of the type piracy Base.factorial(x::Number) = gamma(x + 1). For most users this change will not break anything but for users of factorial it might. If you want to upgrade from SpecialFunctions 1 to SpecialFunctions 2 we recommend:

As the previous overload of factorial was type piratical (added 4 years ago when code was moved out of Base), it is possible that you used it without a direct dependency on SpecialFunctions as long as SpecialFunctions was loaded. The package ecosystem was analyzed and this only impacted a couple of packages. However, it is possible that private packages that depend on this may need updating, or stay with the older release of SpecialFunctions.jl.