Skip to main content

Add a quaternion dtype to NumPy

Project 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.

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

numpy-quaternion-2020.9.5.14.42.2.tar.gz (54.2 kB view details)

Uploaded Source

Built Distributions

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

numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win_amd64.whl (58.8 kB view details)

Uploaded CPython 3.8Windows x86-64

numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win32.whl (54.9 kB view details)

Uploaded CPython 3.8Windows x86

numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_x86_64.whl (191.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_i686.whl (162.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-macosx_10_9_x86_64.whl (54.8 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win_amd64.whl (58.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win32.whl (54.8 kB view details)

Uploaded CPython 3.7mWindows x86

numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_x86_64.whl (187.7 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_i686.whl (160.0 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-macosx_10_9_x86_64.whl (54.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win_amd64.whl (58.7 kB view details)

Uploaded CPython 3.6mWindows x86-64

numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win32.whl (54.8 kB view details)

Uploaded CPython 3.6mWindows x86

numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_i686.whl (159.0 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-macosx_10_9_x86_64.whl (54.5 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file numpy-quaternion-2020.9.5.14.42.2.tar.gz.

File metadata

  • Download URL: numpy-quaternion-2020.9.5.14.42.2.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy-quaternion-2020.9.5.14.42.2.tar.gz
Algorithm Hash digest
SHA256 071c3edb814027f529c8cd78a8bd36aa7326d42bdf1d95d82db790cb356a9fc8
MD5 7d02875230ec5f75d894a5ecbb146716
BLAKE2b-256 cbbb1ff7d20234ffef492330cb2e6f9f091f0978f3b5356aad0df71d3ad3c091

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f5a155720eb402da39a92212e9f92c8af3b1bbb1f55beeaf2a6279eda78364c0
MD5 0e60cd34cf3641185b8765a6c2584d84
BLAKE2b-256 1b5aba65eafd5944f6832638968f8a9d5c2895c004dc926649282a0adcc18e59

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 651ca571c1bdac7cf36c1317cadfeee4439b9a587e9de3bbef9fa478f02ace42
MD5 2cab3f4d0ac63c1d8cfe4293648c1f1b
BLAKE2b-256 6ae2a8f1ce3ff7fc6225d1237d47ebc553a19263f594894d7982d7fba6c58ac2

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3def4e12d1c880cff4220358b00597087383b0334693b4b1ec3f79f58e1b3752
MD5 a65d197976bde38c8e0b26e0ad902333
BLAKE2b-256 8c2ca44ebea0c96ed811a634786b557840da3c9a7d45b8e4b2937b58aefc6263

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_i686.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_i686.whl
  • Upload date:
  • Size: 162.8 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 00dc9c2e23ffbd8d3ee3234e500a43b641ccd368db344f859d16ff5973af0872
MD5 7d0eb4ef559ad4902e709ba544ef1616
BLAKE2b-256 c4db0a4920f79bdf48c797c4c50c1cd80ce537476bb62693fbf610d391aac5fd

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a18e7d46eb6830ad9903863e07364ad86ef3b65b24d8ac3fcdd32f95218c1574
MD5 086e0e18b991d317028d3f4472fa9e42
BLAKE2b-256 170a19e9c95faf9d305ea56b6cb2fd440a9fed225d11ce1737ed140edb2719c0

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux1_i686.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 38082e86414e9157a7d6706cd2b68ca12294684d88422568b0c96e46fd3cba17
MD5 b3e62f04f0d594912de33cdc842f5794
BLAKE2b-256 e030a8a8847335d01fadd7182dbb3321785596e03cf37ec6f188d79764c700b0

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d9390519ef74e6abf322315328216b8b598196bc3dd46111de991217e5e89e7b
MD5 3c87d5ef67414fe11d3e88d3a109c517
BLAKE2b-256 bedbc43e385338d9875756db75d86c22a983b5e0c67d1f6e55a0c10a4bd30676

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 58.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6b764fcd6045fbfb84f40e43a3dd3295cc90bc2359de5ef7fc6243d42a094719
MD5 a6811adc522022a7d01ee698c31cc6a6
BLAKE2b-256 8992647561ffe8d09e7ac00a330d79f8ab1394a79ab1626e188eb428b8fb03c8

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 a4a44411c99780d766492bf65fe6fd7d368c73d6d17ee1ddd35cf07806420f19
MD5 ee47fb802db1d4557f821a66fbd4f061
BLAKE2b-256 61696e814fbf747dfed34e6933a0c347c97ce6f2dfd47f81d8e9edc787a84fa0

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3266bf7119df33222538779806c43a436fc2d97cd85f7fff22d0580809ebc37e
MD5 927f0960e532e9a370e21e8a77441c15
BLAKE2b-256 eaa5847635b4e5d33bf03e7ee8e11200c0a351147837c444f895895b2851f768

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 160.0 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 17100233d102f59a7307a55f22420d6968e4c73eb570aecd7cb9ed277c9c35f4
MD5 f5043514c1f8bac475a53d1c2c2da7ec
BLAKE2b-256 159e7634b9351375e9a97848ed4034ed0e4f5bb2e65e8720489fff1f7bee5dc7

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6e3914ede488fe6453aaa9b20da739cee2c159feac533999d3ebe96b2cae79e3
MD5 353d63e7400067fdc04fbb71a0de13a3
BLAKE2b-256 3bb072d184250d1b48e913ff66cbb30b27d52ff9be37eca95311514fa5159242

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0d018ca43d2e1633375690496e7ad0213dc8d55604fd66a46d0d3ea788b767a8
MD5 5a3fbe694a3f0a76649918baf3b5b3aa
BLAKE2b-256 592f9446b9760ba62ee8b5207f79370b4077f696b7a4063d6d605e829c4b8c0c

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 81970a916a3d23f2c6ee7d09c6bd84209ad7934635ca4430c50c121f7abab32c
MD5 b399c6b9d8e0557c9db0c0b7523b68ec
BLAKE2b-256 6ed8fe14145a74f7ed7528f55b8ccf3bb3654fd4af35aca2e38c1f74cafbce28

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 58.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 88ca3f09373679c786873f0583fa60ace2366be227a4c1f62048ef12833b6922
MD5 d29cbce33fcba468f5c34cb727806b3b
BLAKE2b-256 6457142cff4bd0752f9a7cd5e48f456d70f2241681adf35327c61717e6ba64b3

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win32.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 11b4a1ec7cc5b5ca2cf63e801fdfc552fd905e6bf6f6c42a24f08f0b5468c469
MD5 85b563e9a5fb12cc81addb833c27fdb0
BLAKE2b-256 48d13a2d0908ff9dfdd77677f6a137c945dface5fa897afdb6455a9cf130ba76

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3f41e6ffadb3a28b9dedc68303c6c421ab91d183b7cbcf5e9f1542df4bd326e3
MD5 90fba15f868324de4614200c85fbfacc
BLAKE2b-256 02ea2b10bae50b4dad2db375a4c5ed5bb634005c63fc10fc0c743db8527c7639

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_i686.whl.

File metadata

  • Download URL: numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_i686.whl
  • Upload date:
  • Size: 159.0 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 dd99baebb0b765512106c4d1e2a14f90091f7304f28a41e4889928e138c9d760
MD5 e756243a47f01bf0ea9d4696c970ba66
BLAKE2b-256 f2753f3b43f045440a3ac37d6501b8b5528dfd64b5dc8f27d480a636b8b27858

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c4d22c64b4e2dca7025a50cb34e51b0a347d56ec09c1eb1723f4520d88490e39
MD5 a2306d469f5424960b0a847802012459
BLAKE2b-256 f89104aa575e6c640c52cb7fed62c9ed8226788061a26f4bf83e7b6eaecbc762

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4e23b7cf9c1429a152cebd7e3505ff3e08efc516df0e7d7267272aca8e15ed97
MD5 ffa4a30acb6321ce357e2aaf473b1701
BLAKE2b-256 caf476a2095c4aebc142f0479f34de88c906960e28b1d2341f5ace648da692be

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.5.14.42.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4a111a9dac5b1e4a55ee35780d88b5942a2a845a15dfa21ee2de3adc12cd1873
MD5 b284f7b650feffa160d8df6defcf2c6c
BLAKE2b-256 4c60fefa74c6cc4609589c0d294d7f62eba9a77a9740b9b215718ab503b8224f

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