4 ms·
The speaker in the video runs a community for people interested in geometric algebra. https://bivector.net/ https://bivector.net/ Check out the demo https://o
by adamnemecek 7y ago
The speaker in the video runs a community for people interested in geometric algebra.
https://bivector.net/ https://bivector.net/
Check out the demo https://observablehq.com/@enkimute/animated-orbits https://observablehq.com/@enkimute/animated-orbits
Job the discord https://discord.gg/vGY6pPk https://discord.gg/vGY6pPk
- jiggawatts 7y agoGA seems to be getting more popular, but I still see vector algebra used in areas such as robotics where GA is clearly superior. In that application the small performance difference between GA and vector algebra is irrelevant, but the advantages of GA are huge. In game engines the vector algebra method is slightly faster, so the elegant programming model is often sacrificed in the name of performance. That, I can understand. Why physicists use at least 4 separate formulations of the EM equations I can't understand, especially considering the vector version is the worst yet the most popular.
- devit 7y agoHow can it be faster considering that they are equivalent?
- JadeNB 7y ago> How can it be faster considering that they are equivalent? Computing `ln(e^x)` and `x` are equivalent, but the latter is faster.
- Koshkin 7y agoWell, to be fair, these are equal, not just equivalent.
- gridlockd 7y agoComputers don't care about mathematical equivalence. For instance, dividing by a number is generally slower than multiplying with the inverse of that number. Also, memory access patterns can make a difference of night and day. I'm not sure though where exactly the idea that GA is slower comes from. It's all down to the application and implementation. Perhaps it's because GA generalizes so well to higher dimensions that many libraries are overly generalized and thus slower than vector algebra libraries that need special cases anyway.
- jiggawatts 7y agoThe 3D case is often handled using a conformal projective geometric algebra, which is 5D and requires 2^5 = 32 elements for a general multivector. This is twice that of a 4x4 matrix, and and eight times the size of a 4-element homogeneous vector as typically used in most 3D engines. Of course, there are all sorts of optimisations. Most GA libraries are actually based on code-generation and support various "subsets" of the full GA to efficiently represent things like vectors only. From what I've seen, even a well-tuned library has approximately a 25% overhead for hot paths and 50-100% is typical. This is a bit like representing a simple rotation like the hand of a clock, with either just one angle, or a two-element unit vector pointing in the direction of the rotation. The one-element angle has a bunch of special cases, like have to be checked to see if it goes past 360 degrees and then reset back to the 0..360 range. Representing this with two numbers just requires multiplication with a matrix, which involves no conditionals or modulo arithmetic. This is analogous to the vector vs geometric algebra. Typically, GA has no special cases and "just works", but it does so by "uncompressing" the compact vector representation. It's going to be slower.
- rrss 7y agoReducing Maxwell's equations from the 4-equation Heaviside form to a single equation doesn't seem like necessarily a good thing. Each of the four has a clear physical meaning in the vector calculus formulation, which may be lost when moving to a single equation.
- Koshkin 7y agoYeah, dF = 0 is not very enlightening... http://home.lu.lv/~sd20008/papers/essays/Maxwell's%20equations.pdf http://home.lu.lv/~sd20008/papers/essays/Maxwell's%20equatio...
- gridlockd 7y agoIt's all about inertia. Everybody either already knows vector algebra or will have to learn it anyway, to understand the vast majority of existing literature. Geometric Algebra may be superior, but it's "one more thing" to learn/teach. It might catch on, but that might take another century of preaching.
- ngcc_hk 7y agoFind a good laugh in 40 minutes of the YouTube about people in the old days do not have -ve no. and 0. Also, the surprise way to do algebra by geometry is fun. Studying pre-socrates at the moment and there is a speculation whether the "unbounded" guy is also a geometric guy.