Add built-in support for quaternions to numpy
copied from cf-staging / quaternionconda install conda-forge::quaternion
conda install conda-forge/label/cf201901::quaternion
conda install conda-forge/label/cf202003::quaternion
conda install conda-forge/label/gcc7::quaternion
This package creates a quaternion type in python, and further enables numpy to create and manipulate arrays of quaternions. The usual algebraic operations (addition and multiplication) are available, along with numerous properties like norm and various types of distance measures between two quaternions. There are also additional functions like "squad" and "slerp" interpolation, and conversions to and from axis-angle, matrix, and Euler-angle representations of rotations. The core of the code is written in C for speed.