quaternion_multiply function
The product of two quaternions.
How to write it
quaternion_multiply(p, q)
- p
- A quaternion. Takes an expression.
- q
- A quaternion. Takes an expression.
Examples
quaternion_multiply(quaternion(0, 1, 0, 0), quaternion(0, 0, 1, 0))In the solver,
Open in the solverquaternion_multiply(quaternion(0, 1, 0, 0), quaternion(0, 0, 1, 0))givesquaternion(0, 0, 0, 1).
Related functions
- quaternion_norm
The norm of a quaternion.
- quaternion_conjugate
The conjugate of a quaternion.
- field_add
Sum of two elements of a finite field.
- permutations
All the orderings of a list.
- field_inverse
The inverse of an element of a finite field.
- permutation_sign
The sign of a permutation: 1 when it is even, -1 when odd.