Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Special mathematical functions in Julia

License

NotificationsYou must be signed in to change notification settings

JuliaMath/SpecialFunctions.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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):CIcodecov

Documentation:DocumentationDocumentation

Test status (most recent release):PkgEval

Upgrading from SpecialFunctions 1

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

  • If your code does not usefactorial then update the compat entry for SpecialFunctions to e.g."1.8.1, 2".

  • If your code does usefactorial then check for all occurrences offactorial:

    • Iffactorial is called on anInteger, keepfactorial,
    • Otherwise replacefactorial(x) with a call togamma(x + 1).

    Afterwards update the compat entry for SpecialFunctions and check that your package works with SpecialFunctions 2.

As the previous overload offactorial 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.


[8]ページ先頭

©2009-2025 Movatter.jp