New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derivative doesn't recognize constants like pi and e #838

Closed
josdejong opened this Issue May 1, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@josdejong
Owner

josdejong commented May 1, 2017

The function derivative currently doesn't handle built-in constants like pi and e:

math.derivative('e^x', 'x') // Uncaught Error: Invalid symbol in rule: e

and sometimes a weird indirect error is thrown:

math.derivative('log(x, 10)', 'x') // Uncaught Error: Invalid symbol in rule: e

What is a good way to deal with built-in constants?

@josdejong

This comment has been minimized.

Owner

josdejong commented Jun 5, 2017

This issue has been fixed in the latest versions

@josdejong josdejong closed this Jun 5, 2017

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