Interpret numpy arrays as quaternion arrays with numba acceleration
Project description
Quaternions by way of numpy arrays
This module subclasses numpy's array type, interpreting the array as an array of quaternions, and accelerating the algebra using numba.
This package has evolved from the quaternion package, which adds a quaternion dtype directly to numpy. In many ways, that is a much better approach because dtypes are built in to numpy, making it more robust than this package. However, that approach has its own limitations, including that it is harder to maintain, and requires much of the code to be written in C, which also makes it harder to distribute. This package is written entirely in python code, but should actually have comparable performance.
Similar packages
Packages with similar features available on pypi include
- numpy-quaternion
- Quaternion
- quaternions
- pyquaternion
- rowan
- clifford
- scipy.spatial.transform.Rotation.as_quat
- mathutils (a Blender package with python bindings)
Also note that there is some capability to do symbolic manipulations of quaternions in these packages:
- galgebra
- sympy.algebras.quaternion
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for quaternionic-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9b21988a31ce47b713c990d1503aa2f87ad1aa3a7bf6480f1ca919b4f6f811 |
|
MD5 | 91ac4f878d55290020c93b985419778e |
|
BLAKE2b-256 | ae407f7359ea99c450387cdf93f896f7b787bfc951f88bb2eec15899b24dd0ba |