For the operations that take multiple quaternion inputs (NQ & QQ) the node provides a PRE / POST option, which lets the node execute the operation on the quaternion inputs in a direct or reverse order. The exceptions to this rule are the ADD, DOT and DISTANCE operations for which the order of quaternions is irrelevant.
For quaternion inputs A and B:
PRE = A op B
POST = B op A
Inputs
======
The input to the node are lists of quaternions as well as control parameters (like scale etc). For certain operations the node takes arbitrary number of quaternion input lists, for others it takes only two quaternion input lists and for some only one quaternion input list.
The inputs accept single value quaternions or a list of quaternions. The node is vectorized so it will extend the quaternion lists to match the longest input.
Operations
==========
* ADD : adds the components of two or more quaternions
q1 = (w1, x1, y1, z1)
q2 = (w2, x2, y2, z2)
q1 + q2 = (w1 + w2, x1 + x2, y1 + y2, z1 + z1)
* SUB : subtracts the components of two quaternions