https://github.com/parrt/autodx
Simple automatic differentiation via operator overloading for educational purposes
https://github.com/parrt/autodx
Last synced: 3 months ago
JSON representation
Simple automatic differentiation via operator overloading for educational purposes
- Host: GitHub
- URL: https://github.com/parrt/autodx
- Owner: parrt
- License: mit
- Created: 2017-12-07T22:47:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-03T19:46:50.000Z (about 3 years ago)
- Last Synced: 2025-02-08T11:15:45.952Z (5 months ago)
- Language: TeX
- Size: 1.61 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autodx
Simple automatic differentiation via operator overloading for educational purposes; it's really just a playground for me at the moment and the structure of the repository is not great.
Requires graphviz (`dot` executable) to be installed on your machine and also the python package installed with `pip install graphviz`. I had to do (on mac)
```bash
brew install graphviz --with-pango
```to get the cairo support for subscripts in the graph visualizations.
For y = f(x1,x2) = ln(x1) + x1 * x2 - sin(x2):
**Forward**
![]()
**Backward**
![]()