News for hackers. Stuff that matters.
Re:How Quaternions encode rotations: derivation and sample code by ColinWright on Wednesday September 07, 2016 @05:39AM (#12441924)
I am told that in some modules in the Cambridge undergraduate mathematics degree there are always questions that are trivial to solve using Clifford Algebras, but a complete pig in the usual formulations. I didn't take such a module so I can't comment from first-hand experience, but knowing some of the lecturers I can well believe it. The take-away is that they are a powerful tool in the right circumstances.

Whether they can replace the usual formulations in toto is another question, but they are certainly interesting.

Re:How Quaternions encode rotations: derivation and sample code by eggy on Wednesday September 07, 2016 @06:48AM (#12442201)
GA notation is compact, and it allows for more expressiveness when dealing with geometry. Rotors are pretty intuitive. The software libraries and hardware need to be put in place for it to find more practical use. There has been work on custom hardware, or implementing them in PROLOG [1 PDF].

Hestenes book "New Foundations in Classical Mechanics" is a great start, and there are books on GA in computer graphics. It is only a matter of time until there are solid software libraries and dedicated hardware for GA for it to really take off.

The current method is fine, and has done its job, however, when you read the history, and study GA, you realize the turn mathematics took. It was not based upon the better road, but on historical incidents.

[1 PDF] http://www.gaalop.de/dhilden_data/fccm09.pdf

Re:How Quaternions encode rotations: derivation and sample code by jacobolus on Wednesday September 07, 2016 @05:44AM (#12441946)
Anyone trying to study rotating objects (precession, fictitious forces in rotating reference frames, complicated problems about angular momentum, collisions of rigid objects etc.) will find that the geometric algebra approach cuts the work and conceptual overhead by an order of magnitude.

Here’s the book to work through for anyone who wants to deeply understand rotation in classical mechanics problems: http://geocalc.clas.asu.edu/html/NFCM.html

Re:How Quaternions encode rotations: derivation and sample code by jules on Wednesday September 07, 2016 @06:07AM (#12442035)
Do you have a link to a worked out example that is made much easier by this?
Re:How Quaternions encode rotations: derivation and sample code by jacobolus on Wednesday September 07, 2016 @06:21AM (#12442081)
Unfortunately Hestenes’s book is not online. I don’t know of any comparative examples online to link to.

I do still have vivid memories of working such problems out painfully using matrix/tensor methods in a college mechanics course 12 years ago though. :-)

Re:How Quaternions encode rotations: derivation and sample code by tostitos1979 on Wednesday September 07, 2016 @06:35AM (#12442144)
Is there a video lecture one can watch? What background is required to understand this?
Re:How Quaternions encode rotations: derivation and sample code by haskellgewurz on Wednesday September 07, 2016 @11:04AM (#12443975)