CMD + K

quaternion

Community

Add built-in support for quaternions to numpy

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::quaternion

Usage Tracking

2024.0.13
2024.0.12
2024.0.11
2024.0.10
2024.0.9
5 / 8 versions selected
Downloads (Last 6 months): 0

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.

About

Summary

Add built-in support for quaternions to numpy

Last Updated

Nov 24, 2025 at 20:10

License

MIT

Total Downloads

2.4M

Supported Platforms

win-64
macOS-64
macOS-arm64
linux-aarch64
linux-ppc64le
linux-64