-
Notifications
You must be signed in to change notification settings - Fork 116
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
request: User-friendly functions for seeing what's in a symbolic expression. #645
Comments
I think that concepts like derivative and independent variable should be Symbolics.jl level concepts since in SymbolicUtils the terms are more general than the kind of calculus functions that MTK and Symbolics are designed for. I don't think there is a notion of independent or dependent variable at the BasicSymbolics level. |
Thanks. I guess I'm not clear on where the break between Symbolics and SymbolicUtils is. Should I create an issue in Symbolics? |
For some transparency, I'm trying to debug an issue in Symbolics and I am unable to print diagnostics. The below is triggered by inserting a "println(occurrences)" into the expand_derivatives function of Symbolics. The type of occurrences is SymbolicUtils.BasicSymbolic{Real}, and I have no idea how to query anything about it (since it refuses to even display.)
|
These capabilities maybe exist but I couldn't find anything documented for either Symbolics or SymbolicUtils. Example
-Given a symbolic expression, how do I break it up into terms?
-Given a symbolic expression how do I query if it is a derivative (and if so, what order and of what?)
-Given a symbolic expression, how do I tell if it's a function, or the independent variable "t"?
I think some of this functionality is related to istree, or maybe iscall, but I'm not sure.
The text was updated successfully, but these errors were encountered: