-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Generic constructor fails for Signature "-+" #2
Comments
You are mistaken, the geometric product works for all the algebras julia> using Grassmann
julia> @basis S"-+"
(⟨-+⟩, v, v₁, v₂, v₁₂)
julia> v1*v2
v₁₂
julia> @basis S"-++"
(⟨-++⟩, v, v₁, v₂, v₃, v₁₂, v₁₃, v₂₃, v₁₂₃)
julia> v1*v2
v₁₂ that version of the constructor relies on Look closely at the error you posted
This is merely an issue with the default generic constructor of |
Ah, I see! Is there some documentation on the difference between the D"-++" and the S"-++" constructor? |
No, it's not documented yet and there are going to be more variations coming into existence.
Therefore, it's still an open problem. However, the constructor issue is not my primary concern right now, although I have been aware of it already. This package is still going to change a lot before I take another look at the generic constructor issue. |
Alright, knowing that I just have to explicitly use S"-+" instead of V"-+" works for me. Thanks for the quick clarification! |
The geometric product works like expected for the commonly used algebra with signature "-+++":
However, it does not work for algebras with more uncommon signatures like "-+" or "-++":
The text was updated successfully, but these errors were encountered: