itimes edit page

computes inv(o1) .* o2

Syntax

q = q1 .* q2
q = times(q1,q2)
q = itimes(q1,q2,1) % inv(o1) .* o2
q = itimes(q1,q2,0) % o1 .* inv(o2)

Input

q1 quaternion
q2 quaternion
takeRight logical, use as output left or right input

Output

q quaternion