Questions tagged [quaternions]
37 questions
5
votes
2 answers
Getting Values From Quaternions
I'm using the Quaternion package:
<< Quaternions`
Very simply, I would like to be able to get the individual components of the quaternions by themselves.
My problem is, if I try
Re[FromQuaternion[Quaternion[1,2,3,4]]]
I get
1+Re[3J+4K]
I would…
Matt Groff
- 1,141
- 1
- 10
- 15
5
votes
1 answer
Defining Quaternions
According to the documentation online, we can use the following command to load the Quaternion package.
<< Quaternions`
It is clear that the pakage uses left handed quaternions for all its quaternion algebra. Is it possible to define the explicitly…
gladiator04
- 51
- 4
3
votes
1 answer
How to work with quarternions in Wolfram Mathematica?
How can I write the insructions from this link http://blog.wolframalpha.com/2011/08/25/quaternion-properties-and-interactive-rotations-with-wolframalpha/ in Mathematica to obtain the same result?
Thanks!
danciulian
- 217
- 3
- 5
3
votes
1 answer
FromQuaternion and QuaternionQ not working symbolically?
How can I get Mathematica to work with quaternions symbolically? I want to do some quaternion math without defining the actual coefficients, and then extract the coefficients from the resulting quaternion. For some reason, however, FromQuaternion…
John
- 165
- 5
1
vote
0 answers
Quaternion calculation
Quaternion[0, Cos[Pi/20]/Sqrt[2], Sin[Pi/20]/Sqrt[2], 0] **
Quaternion[0, 1, 0, 0] **
Quaternion[0, -Cos[Pi/20]/Sqrt[2], -Sin[Pi/20]/Sqrt[2], 0]
this should produce a table of real numbers, but, at least for me, the result appears to include a…
G Taylor
- 33
- 4
0
votes
0 answers
How can I get a list of the "coefficients" of Quaternion[1, 2, 3, 4]?
I want to input: Quaternion[1, 2, 3, 4] to get a list: {1,2,3,4}.
Geoffrey Critzer
- 1,661
- 1
- 11
- 14