quaternion_norm
- compas.geometry.quaternion_norm(q)[source]
Calculates the length (euclidean norm) of a quaternion.
- Parameters
q (list) – Quaternion as a list of four real values
[w, x, y, z]
.- Returns
float – The length (euclidean norm) of a quaternion.
References