DiffRules.jl
DiffRules.jl copied to clipboard
A simple shared suite of common derivative definitions
https://juliadiff.org/DiffRules.jl/latest is not up-to-date. This PR replaces the link with https://juliadiff.org/DiffRules.jl/dev.
https://juliadiff.org/DiffRules.jl/stable/ shows v0.0.10, but the latest version is v1.15.1. 
One could simply revert #30 to fix this, but if one wants CSE then it can be calculated from first principles. I started a [discussion](https://discourse.julialang.org/t/accurate-derivative-for-tanh/107568) which has numerical examples.
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
This reverts #60, thus un-reverts #54. Wants to be run with #61 and https://github.com/JuliaDiff/ForwardDiff.jl/pull/530 before merging.
Many "introspection" functions in DiffRules like `DiffRules.diffrules` look at the global variable `DEFINED_DIFFRULES` to collect information about what diff rules are defined. I think this has some issues: - Only...
I'm willing to define some rules for `SpecialFunctions`, however some of the derivatives require functions not implemented in `SpecialFunctions` but in say `GSL.jl`. Is there any style convention for only...
Should we enforce that the derivatives of `max(x, y)` and `min(x, y)` are undefined when `x == y`?