stepthom / math-fun

Just testing out some fun with mathematics.
2 stars 2 forks source link

Derivative #9

Closed ajslater closed 11 years ago

ajslater commented 11 years ago

Issue #4 adds support for taking derivatives.

In my solution i'm leaving the zero terms in (i.e. differential of f(x) = x^0 ---> 0x^0) as placeholders rather than eliminating them.

Using the '-d' switch you can turn on taking the derivative of the randomly generated polynomial functions on output and see that it works.

stepthom commented 11 years ago

:+1: This seems to be working well, thanks!

Once PR #8 is resolved and merged into master, you can merge master into this branch and it will be ready to merge.