Git Product home page Git Product logo

specialfunctions.jl's Introduction

SpecialFunctions.jl

Special mathematical functions in Julia, including 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:

  • 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.

specialfunctions.jl's People

Contributors

andreasnoack avatar stevengj avatar ararslan avatar devmotion avatar jeffbezanson avatar tkelman avatar andrewjradcliffe avatar simonbyrne avatar stefankarpinski avatar giordano avatar musm avatar sumegh-git avatar kshyatt avatar vtjnash avatar oxinabox avatar augustt198 avatar jakebolewski avatar fredrikekre avatar cossio avatar michaelhatherly avatar quinnj avatar viralbshah avatar kristofferc avatar timholy avatar paulxicao avatar ashtonsbradley avatar staticfloat avatar jiahao avatar johnmyleswhite avatar pkofod avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.