Created
February 25, 2017 22:35
-
-
Save jdh30/87af2ba03f653006156246393c964b22 to your computer and use it in GitHub Desktop.
A symbolic derivative written in my own term rewrite language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D(x, y) -> 0 | |
D(x, x) -> 1 | |
D(f+g, x) -> D(f, x) + D(g, x) | |
D(f*g, x) -> f*D(g, x) + g*D(f, x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment