conda-forge / packages / quaternion 2019.

Add built-in support for quaternions to numpy


Info: This package contains files in non-standard labels.

conda install

  • linux-64  v2019.
  • osx-64  v2019.
  • win-64  v2019.
To install this package with conda run one of the following:
conda install -c conda-forge quaternion
conda install -c conda-forge/label/gcc7 quaternion
conda install -c conda-forge/label/cf201901 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.

PRIVACY POLICY  |  EULA (Anaconda Cloud v2.33.29) © 2019 Anaconda, Inc. All Rights Reserved.