qq

(method of quaternion)

returns w * q' * q

Syntax

T = qq(q,'param1',val1,'param2',val2)

Input

q

list of quaternions

w

list of weights