Skip to content

Add derivative rules and drop v0.5#5

Merged
jrevels merged 6 commits intomasterfrom
jr/rules
Apr 28, 2017
Merged

Add derivative rules and drop v0.5#5
jrevels merged 6 commits intomasterfrom
jr/rules

Conversation

@jrevels
Copy link
Contributor

@jrevels jrevels commented Apr 28, 2017

This PR ports over a refactored version of the derivative rules currently provided by the Calculus package.

The benefits here are:

  • adding an n-ary derivative rule is now as simple as adding unary rules
  • linear algebra rules could easily be added in the future
  • looking up rules is simpler for downstream differentiation implementations
  • decoupling from downstream differentiation implementations should make this more maintainable

Because ForwardDiff (and soon, ReverseDiff) is dropping v0.5 support in the next release, this PR also drops v0.5 support to make sure that we don't run into a situation like JuliaDiff/ForwardDiff.jl#205 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant