Skip to content
프로젝트

JuliaMath/SpecialFunctions.jl

GitHub에서 보기

소개

Special mathematical functions in Julia

과학 및 공학

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+2
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

SpecialFunctions.jl

Special mathematical functions in Julia, include Bessel, Hankel, Airy, error, Dawson, exponential (or sine and cosine) integrals, eta, zeta, gamma, loggamma, 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:

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

  • If your code does use factorial then check for all occurrences of factorial:

    • If factorial is called on an Integer, keep factorial,
    • Otherwise replace factorial(x) with a call to gamma(x + 1).

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

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.

관련 프로젝트 살펴보기

불러오는 중…