-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Errors with symbolic coefficients, mixed-grades multivectors / operators related ? (both Reduce and SymEngine) #85
Comments
It is not recommended to use the Instead, you should just do |
Thank you for this very fast answer and for this precision ! I added it thinking it may solve some errors, which I also get with
|
Thanks for reporting these examples. This situation can probably be improved; however, it is not my immediate concern to improve the situation involving symbolic computation interoperability, although I may attend to this in the future when I feel like addressing it. |
@KabalGraph all of the issues described in this issue have now been fixed in v0.8 of |
Hi,
I'm just getting started with Julia in order to experiment with Grassmann.jl (for Lie Sphere Algebra, multi-qubits, etc), which seems like a very interesting library to work with.
Setup : Julia 1.5.3 (fresh install), Reduce v1.2.10, Grassmann v0.7.2, on Windows 8.1 x64, I also installed all packages listed as possible dependencies (AbstractTensors, ComputedFieldTypes, etc). Grassmann v0.7.1 and Reduce v1.2.9 also create these errors.
Reduce and Grassmann seem to be working quite fine on their own.
However I necessarily have to use
@force using Reduce.Algebra
and when using bothusing Reduce; @force using Reduce.Algebra; using Grassmann
doesn't allow the same operations asusing Reduce; @force using Reduce.Algebra; using Grassmann
(see below).Grassmann generates bases of all kinds with no troubles and correctly performs operations on multivectors using operators (∧, ⋅, ^2, etc).
However when using both (eg. defining r = :x * v1 + :y * v12, say) I run into a lot of errors, which are listed below. Some operations do work, and return the correct results, other produce weird results or errors, please see below for examples of outputs in various cases.
The problems seem mostly related to expressions returning mixed-grades multivectors. (:x + v1 + :y * v2 works fine, 1 + :x * v12 doesn't).
I'm also having trouble when using SymEngine instead of Reduce, which is why I'm posting it in this rep, although it seems quite related to Reduce.jl issue #38.
Any ideas where this might be coming from ?
Thanks and best regards,
Julien
Changing the order of
using
and@force using
produces a different behavior of/
and⋅
Same kind of errors using SymEngine instead
The text was updated successfully, but these errors were encountered: