Skip to content

SuperCrabLover/Symbolic_differentiator

Repository files navigation

Symbolic_differentiator

Contents

  1. Brief description
  2. Installation
  3. Usage

Description

Code is powered by the pdf generator written by https://github.com/AndreRenaud/PDFGen. Program parses math expressions in standart notation from a file using recursive descent and builds a special binary tree. Tree is being differentiated and simplified recursively too. Than pdf gen is called and the answer is printed in output.pdf. Author: Molozhavenko Alexander MIPT 2021

Installation

git clone
make

Usage

After executing make the ELF named 'a' will be created. For getting usage information execute

./a -h

The output will be printed into terminal and into the file simultaneously. The parser can understand integers (like "-1" or "10000"), the differentiation parametr is "x", the expression "-x" is also considered correct. Program parses tan, log, sin and cos functions as well as multiplication " * ", division "/", power "^", plus "+", minus "-" and unary minus "-", which will be printed as "m".

About

Pure C program for differentiation in literals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages