Skip to content

Instantly share code, notes, and snippets.

@dharmatech
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dharmatech/42d924931da593f64e98 to your computer and use it in GitHub Desktop.
Save dharmatech/42d924931da593f64e98 to your computer and use it in GitHub Desktop.

Symbolism

Library that implements automatic simplification of algebraic expressions in C#.

To get an idea of the kinds of expressions it handles, see the tests in this file.

The automatic simplification algorithm comes from the book "Computer Algebra and Symbolic Computation: Mathematical Methods" by Joel S. Cohen.

GiNaC and SymbolicC++ are of course very inspirational.

The projects "PSE 5E ..." are examples and problems from the textbook "Physics for Scientists and Engineers, 5th Edition" by Serway and Jewett.

Here's a walk-through of solving a physics problem.

A slightly more complex walk-through.

In action:

Unit test for that example.

References

Computer Algebra and Symbolic Computation: Elementary Algorithms by Joel S. Cohen

Computer Algebra and Symbolic Computation: Mathematical Methods by Joel S. Cohen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment