Differentiator is a C/C++ program that performs symbolic differentiation of mathematical expressions represented as trees. It supports calculation of total differential, partial derivatives and generation of results in LaTeX format.
- Symbolic differentiation of expressions of any complexity
- Full differential support
- Calculation of partial derivatives
- Generating output in .tex-file with beautiful layout
- Expression tree visualisation via Graphviz
- Expression simplification
- Support for basic operations and elementary functions
- Input data: text file with a mathematical expression
- Differentiation: the programme calculates the derivative or total differential
- Visualisation: generation of Graphviz-graphs (optional)
- Result: output to a .tex file with formulas in LaTeX notation
To build and run the Differentiator:
git clone git@github.com:rAch-kaplin/Differentiator.git
make
./do -i expr.txt -o tex_file.texThe input file is expr.txt:
sh(x * y + 1) + arctg((x^2 + y^2) / (x - y)) + sin(y)$
A tree that can be built using the graphviz library
Example of a report that TeX will generate
