-
Notifications
You must be signed in to change notification settings - Fork 37
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
Symbolics.jl
support?
#142
Comments
Making |
Thank you for replying! Yes, i have seen that issue when looking at I understand that during the computation, the result inevitably ends up being non-integral, However, it is not so clear-cut given symbolic inputs, because there the result will still be symbolic. Note that i'm not arguing for allowing everything that is a
|
... does that make sense? |
As I said, I'm not very happy about point 1. Subtypying |
Thank you for taking a look!
To be honest, i'm not as familiar with julia, so i'm not fully //sure// doing so is necessary,
Yes indeed, i have thought about that issue, and i fully agree with that pain point, |
Rough proof of concept in #144, with all tests passing, but insufficient test coverage.
So far it appears that
It turns out, we can't depend on |
Edit: found a way to mix both of these in a nice way. |
Currently,
Measurement
is a subtype of, and operates on,AbstractFloat
,while
Symbolics.jl
's variables/expressions are subtype ofReal
.Given that
AbstractFloat
is a subtype ofReal
, currently one can not passsaid symbolic variables through
Measurements.jl
.A very rough hack (
s/AbstractFloat/Real/
) shows that in principle, it works:Question: conceptually, is this something that could be supported?
The text was updated successfully, but these errors were encountered: