quaternion_conjugate

compas.geometry.quaternion_conjugate(q)[source]

Conjugate of a quaternion.

Parameters

q (list) – Quaternion as a list of four real values [w, x, y, z].

Returns

list – Conjugate quaternion as a list of four real values [cw, cx, cy, cz].

References