I am tracking rotation of an object using quaternions by accumulating each successive rotation using quaternion composition. I notice that probably due to rounding errors, the norm of each successive quaternion is drifting from being 1, which means I need to normalize the quaternion. Is there an in-build function that would let me do this? Otherwise, I can divide the quaternion by its norm. Is there a method I can call on the quaternion to extract its norm?
I looked at the Quaternion documentation page but did not find anything there Here is the page I am referring to: http://doc.sagemath.org/html/en/reference/quat_algebras/sage/algebras/quatalg/quaternion_algebra.html Thanks Ben -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.