About Anaconda Help Download Anaconda

Add built-in support for quaternions to numpy

copied from cf-staging / quaternion

Installers

Info: This package contains files in non-standard labels.
  • linux-64 v2023.0.4
  • linux-ppc64le v2023.0.4
  • linux-aarch64 v2023.0.4
  • osx-64 v2023.0.4
  • win-64 v2023.0.4
  • osx-arm64 v2023.0.4

conda install

To install this package run one of the following:
conda 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

Description

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.


© 2024 Anaconda, Inc. All Rights Reserved. (v3.0.9) Legal | Privacy Policy