189 points · by beefman · 6y ago · 71 comments
https://grassmann.crucialflow.com
The Grassmann.jl package provides tools for doing computations based on multi-linear algebra, differential geometry, and spin groups using the extended tensor algebra known as Leibniz-Grassmann-Clifford-Hestenes geometric algebra. Combinatorial products included are ∧, ∨, ⋅, *, ⋆, ', ~, d, ∂ (which are the exterior, regressive, inner, and geometric products; along with the Hodge star, adjoint, reversal, differential and boundary operators). The kernelized operations are built up from composite sparse tensor products and Hodge duality, with high dimensional support for up to 62 indices using staged caching and precompilation. Code generation enables concise yet highly extensible definitions. The DirectSum.jl multivector parametric type polymorphism is based on tangent bundle vector spaces and conformal projective geometry to make the dispatch highly extensible for many applications. Additionally, the universal interoperability between different sub-algebras is enabled by AbstractTensors.jl, on which the type system is built.
2015: https://news.ycombinator.com/item?id=9746051
Related a bit more generally:
2017 https://news.ycombinator.com/item?id=15932739
This might be helpful as a start:
https://en.wikipedia.org/wiki/Exterior_algebra
> I don't see any discussion of behaviors under coordinate transformations.
That's because, as the article emphasizes, you don't need coordinates (or basis vectors, which is the term used in the article) to work with geometric objects. You can use them, but you don't need to.
Similarly, vectors, bivectors, tensors, etc. can all be defined without making use of their behavior under coordinate transformations. Textbooks that emphasize coordinates might make it appear otherwise, but that's not the case.
If you have a displacement vector, and a potential gradient, they can't be the same "kind" of thing (i.e. both vectors), because their dot-product should be preserved. If the slope gets half as long, it's twice as steep.
I'm not sure what two kinds of things you are referring to, but it doesn't seem like they are "geometric objects" and "coordinates". All I'm saying is that you don't need coordinates; they are a convenience, not a necessity. I am not saying you need only one kind of geometric object.
> If you have a displacement vector, and a potential gradient, they can't be the same "kind" of thing
Agreed. You need both vectors and covectors, or more generally "things with upper indexes" and "things with lower indexes". But you don't need coordinates to work with those things. The indexes do not have to represent components. They can represent "slots" (at least that's what Misner, Thorne, and Wheeler call them in their classic GR textbook), in which you can insert vectors (for lower index slots) or covectors (for upper index slots) in order to obtain other geometric objects (and ultimately numbers, which are what you compare with actual measurements).
For a better explanation I can recommend the accepted answer here:
https://math.stackexchange.com/questions/1991814/whats-the-d...
More generally the basics of geometric algebra (“real Clifford algebra”) should be taught to all undergraduate students taking technical courses, and could be profitably pushed back into high school.
"It is traditional to write down four Maxwell equations.
However, by using Clifford algebra, we can express the same meaning in just one very compact, elegant equation."
(It's "geometric" in the sense it doesn't depend on a choice of basis I guess.)
However, I do think there is something there. There is a concept of vector inversion that it makes possible. I have been trying to crystallize this for a long time, though.
Edit: Clifford groups are not the same as Clifford algebras. I was wrong!
so are maxwell's laws actually relativistically invariant or not?
I can see how you might not want to use them in JavaScript (although many folks do), but it's quite natural to use them in Scala, Haskell, or OCaml.
This looks like what I wished I had learned instead!
Join the discord https://discord.gg/vGY6pPk.
Check out a demo https://observablehq.com/@enkimute/animated-orbits
Also at the end of February, there is geometric algebra event in Belgium. https://bivector.net/game2020.html All the big names in the field will be there.
It's got a lot of very interesting math and physics information.
Fascinating. That thing famously never worked well, and the movie was better for it.
The book is a compendium of tips and techniques from graduate students in Cornell's famous low temperature physics lab. Although published in 1988, it is sufficiently general to be valuable today.
https://books.google.com/books?id=8tJMDwAAQBAJ&pg=PP16&lpg=P...
https://grassmann.crucialflow.com
it isn't taught at universities, it is self taught.. at the university level you are going to be artificially held back more than you would by studying it independently
Do it. Scratch that itch while you still can.
Linear and Geometric Algebra, by Alan Macdonald: http://www.faculty.luther.edu/~macdonal/laga/
Vector and Geometric Calculus, by Alan Macdonald: http://www.faculty.luther.edu/~macdonal/vagc/index.html
Application to physics: New Foundations for Classical Mechanics by David Hestenes: https://books.google.com/books/about/New_Foundations_for_Cla...
Geometric Algebra For Computer Science by Dorst, Fontijne, and Mann: http://www.geometricalgebra.net/index.html
In the docs section, the Geometric Algebra Primer by Jaap Suter is excellent. http://www.jaapsuter.com/geometric-algebra.pdf
edit: link http://www.astro.umd.edu/~jph/GAandGC.pdf
Author(s): D. J. H. Garling Series: London Mathematical Society Student Texts 78 Publisher: Cambridge University Press, Year: 2011 ISBN: 1107096383
> ∇ F = J/(c є₀)
Holy. Shit. Is this for real?