-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add support for the right and left complement #215
Milestone
Comments
👍 |
Just commenting to note that the above code still works in 0.5.0. The rest of the puzzle is something like from galgebra import metric
ga = ...
lookup = dict(zip(ga.blades.flat, right_complement_blades(ga).flat))
def right_complement(e):
return a.Ga.mv(sum([
coef * lookup[base]
for coef, base in metric.linear_expand_terms(e.obj)], S.Zero)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The right complement of the basis blades can be found with
With that in place, the complement of any multivector can be taken componentwise.
This would enable:
vee
in PGA without incurring the metricThe text was updated successfully, but these errors were encountered: