Skip to content

A symbolic differentiator for polynomial expressions of one variable.

Notifications You must be signed in to change notification settings

wldfngrs/symbolic-differentiator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Symbolic Differentiator

Command line tool for computing differentials of single variable polynomial expressions.

Compiling

Clone the repository, navigate to the project directory and run the following command on the terminal:

$ g++ main.cpp -o symb-diff

Run the executable to begin computing differentials:

$ ./symb-diff
$ SymbDiff ('q'/'exit'/'quit'/CTRL-C to exit)
$ >

Includes

  • Implicit multiplication support. For example, 4x is interpreted as 4*x and vice-versa.
  • Implicit parse precedence evaluation (thanks to recursive descent!). For now, explicit parse precedence specification via parentheses will result in a parse error. I have nothing against parentheses, I just felt they were unnecessary for this base implementation.

Regards 🫰

About

A symbolic differentiator for polynomial expressions of one variable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages