Skip to content

More simplification routines #55

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

Closed
ChrisRackauckas opened this issue Mar 18, 2018 · 4 comments
Closed

More simplification routines #55

ChrisRackauckas opened this issue Mar 18, 2018 · 4 comments
Assignees

Comments

@ChrisRackauckas
Copy link
Member

We need more routines to simplify equations down to common forms. It doesn't need to cover all of the fancy cases, but we should be able to have -x be the same as -1 * x.

@smldis
Copy link

smldis commented Mar 21, 2018

@ChrisRackauckas
Copy link
Member Author

Thanks. It's interesting they have so many pointers. I've been wondering about that for Variable, because then Variables as references would be unique instead of copied all around. This would be helpful for making components.

@smldis
Copy link

smldis commented Mar 28, 2018

Given julia's similarities with C++ and its current lack of capability of avoiding copies in this case, refs make sense. Is using refs going to also simplify expression manipulation algorithms? (unique means it is easy to check for equality right?)
This could be also handled at a lower level representation, I don't know what the current plans are.

@ChrisRackauckas
Copy link
Member Author

unique means it is easy to check for equality right?

Yeah it would just be references.

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

No branches or pull requests

3 participants