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

Use := for intermediate calculations #47

Open
ChrisRackauckas opened this issue Oct 3, 2018 · 2 comments
Open

Use := for intermediate calculations #47

ChrisRackauckas opened this issue Oct 3, 2018 · 2 comments

Comments

@ChrisRackauckas
Copy link
Member

No description provided.

@maedoc
Copy link

maedoc commented Jul 23, 2019

Is this by chance a way to use auxiliary variables? e.g. I have

using ParameterizedFunctions

f = @ode_def rww begin
    c = a + b * b
    dx = c - x
end a b

which complains that Symbolic calculations could not initiate. Likely there's a function which is not differentiable by SymEngine.

the actual model would be a 200 character line, so I don't want to write in all in one line, and auxiliary variables (as xppaut calls them) would be helpful

@ChrisRackauckas
Copy link
Member Author

That's what this feature would give, but it's not implemented yet. I think we're going to just leave this as a hanging thread since this library is essentially deprecated and we encourage people to use ModelingToolkit.jl instead. But if anyone wants to take this on I'd be willing to review it.

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