Skip to content
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

Inner Product between vector and bivector #98

Open
mw95710 opened this issue Apr 14, 2022 · 4 comments
Open

Inner Product between vector and bivector #98

mw95710 opened this issue Apr 14, 2022 · 4 comments
Labels

Comments

@mw95710
Copy link

mw95710 commented Apr 14, 2022

Using @Basis S"+++"

Define:

x = v1 + v2 + v3
i = v23

when I want the inner product I get x | i = 0, even though I am expecting -v2 + v3. Am I missing something?

@chakravala
Copy link
Owner

Yes, you are missing something, what you don't understand is that there are 8 possible variations of inner product, all of which are essentially the same, except for a few swaps. In Grassmann I adhere to the OG (original Grassmann` definitions, while in some of the literature, such as by Cambridge university authors, you may find incorrect inner products used not based on the original.

@mw95710
Copy link
Author

mw95710 commented Apr 14, 2022

I see. I was not aware of left and right contraction definitions. Just making sure, are the left and right contraction implementations in Grassmann.jl the same as in the Wikipedia article?

https://en.wikipedia.org/wiki/Geometric_algebra

@chakravala
Copy link
Owner

are the left and right contraction implementations in Grassmann.jl the same as in the Wikipedia article?

Grassmann.jl is its own reference standardization, based on my interpreting the OG (original Grassmann) knowledge. Wikipedia does not generate a full reference implementation of these definitions, so I am not sure what their definition is. Some other sources such as authors from Cambridge use definitions that are incorrect and not compatible with the OG (original Grassmann)

@Orbots
Copy link

Orbots commented May 11, 2022

@mw95710
you can use \intprod , which is close ( maybe the same ) as what you expect.

As @chakravala stated, they use an alternate definition for inner product. This is not unusual.
Kind of a GA gotcha, lots of variations out there for metric operators ( dual, innerproduct, vee, etc ). You need to look up the definition for such operators used for each GA library you use to make sure you are on the same page.

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

No branches or pull requests

3 participants