Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quaternionic-0.0.1a2.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quaternionic-0.0.1a2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file quaternionic-0.0.1a2.tar.gz.

File metadata

  • Download URL: quaternionic-0.0.1a2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.3 Darwin/17.7.0

File hashes

Hashes for quaternionic-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 3178cd6261db6f32b44b12a51b8aa25c4f80a0f98eae3c3271fb7ad090ab2191
MD5 cb193c6abee06a47d233f4160eb4964a
BLAKE2b-256 0047702ddf4e3ae8f90dacd16ff021940deeec735341b8b51d2915ddc62fd179

See more details on using hashes here.

File details

Details for the file quaternionic-0.0.1a2-py3-none-any.whl.

File metadata

  • Download URL: quaternionic-0.0.1a2-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.3 Darwin/17.7.0

File hashes

Hashes for quaternionic-0.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 1265e7517fb6743d9602e51548d52aca0e469453b06c6126549b1b3a9df3f7e1
MD5 0151fc7f32c7f0003b5ab70c1fe27762
BLAKE2b-256 450de83d48408be240ff39ef871bf647bf10e866c793a230be0e601e2166e96f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page