An open API service indexing awesome lists of open source software.

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

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**