Skip to content
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

What to do with derivative #684

Closed
YingboMa opened this issue Dec 5, 2020 · 1 comment
Closed

What to do with derivative #684

YingboMa opened this issue Dec 5, 2020 · 1 comment

Comments

@YingboMa
Copy link
Member

YingboMa commented Dec 5, 2020

Should we define ModelingToolkit.derivative(f, x) = expand_derivatives(Differential(x)(f))? It's technically breaking, but I doubt the current behavior of not using chain rules is desirable.

@ChrisRackauckas
Copy link
Member

The current derivative is "symbolic rules", not the derivative function. We should definitely change this because it's a confusing trap for most users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants