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.2.16.39.41.tar.gz (38.9 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.2.16.39.41-cp38-cp38-win_amd64.whl (58.9 kB view details)

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8Windows x86

numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux2010_x86_64.whl (192.1 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux2010_i686.whl (163.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41-cp37-cp37m-win_amd64.whl (58.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux2010_x86_64.whl (187.8 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux2010_i686.whl (160.3 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41-cp36-cp36m-win_amd64.whl (58.8 kB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux2010_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux2010_i686.whl (159.3 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ i686

numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41.tar.gz.

File metadata

  • Download URL: numpy-quaternion-2020.9.2.16.39.41.tar.gz
  • Upload date:
  • Size: 38.9 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.2.16.39.41.tar.gz
Algorithm Hash digest
SHA256 c46806b1a736e6b7e81a3ab16bc6bb4d7e86718f6a5d2df89a0ae7671775736a
MD5 4e356220a9db0d0c37c4f7dc860a9aad
BLAKE2b-256 cbeac57b0a4d7478726ebcca8bd4e46d3fe37a72855fb8300af3f2302d3a7f2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 58.9 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.2.16.39.41-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4f21da372d8204403437b6ff28c6e2c298f031794c5ca9a1acd284aad68161d5
MD5 624d264d00f3e9593342efbc597288a3
BLAKE2b-256 2db7ca64a682a898bdd574df0982dfce406b4d2d9590449cdbf7be8264bb0ff3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 7682862e95dcab169f81e6f0767b0e48ff91ae4546d98b7b8557318bf7be8776
MD5 61eea1f06c9813749d7b63548036e256
BLAKE2b-256 37a7bd1e4e1406969b01ef53a8bb9e5fae11751cf7b4a2bd0c8b800681e5fc94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 78ee21cb4c7720dabb8b8d667990ffa4846d0b0148f6329f76844e54612598ee
MD5 4fba8649efbe2a6db655925c4269c9d1
BLAKE2b-256 6e2bd13e4b5c965296faf683aa18ba7ee43fda2dcc7a26f6ce51e49a8e83f910

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7860a6774012d7814755d00ccdf767b69cce39d3e55ecafc1aa3d03fe4c6656b
MD5 5e16edb86a3808aa4c1163341093e1a4
BLAKE2b-256 129313b2ab673896135a632598cbcbb7f0d2b3b0dd43668e67281c41d97426d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6e37e017b3eb1e1e5e85633c579a01be5a2db6fb99f585839baf3338fb4653b4
MD5 ce926979062c1fb6d053c73b68bca031
BLAKE2b-256 e99ee34832bb0aa87ba9b54908ff33c32c03222c97eb11980f97196f786aa184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b74ef0df1c0d1eb0c165ce0eda1d76ce10c2b3f01e94328cb85a44c0a52f4b84
MD5 915b06e5d0c3832e40e85d4152405250
BLAKE2b-256 82415ba8c38688217962f50e78fce868ddabb857c3526db84e355c068b272add

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5dd2f07a14b3c12e18155c7160ea16857841ce0f3656154b9a11e24e47466e65
MD5 47dbc8a5fb61b4a47c957e0176982050
BLAKE2b-256 f1c241e798f848a9dc5a962e0cc9d2f9da01c245945cf8d3dd4d4a53695cc056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 58.8 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.2.16.39.41-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8867ae1e0555c2466c7f66ba25320641bab1728416ea73d4c52f053ff3934bf8
MD5 aa9af6af7a21b951b6e14ef811db9a7b
BLAKE2b-256 5d9f2d352b1fe5477186956d1afb7f3fc922fb603ef475ec579d658de3ea5634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 814eb575a2cc91e9840eaadfb721aad3f4f45d9986affe596ed32de8a909ad99
MD5 bce9c25b98dac7745c3843a31d41bf62
BLAKE2b-256 c09788a65c2ea2dcdc78e30f21d66cbff8432e2be7f04158e50e536b5d7e10b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 3166f1b51703ebf675d7317f7a5c320f7478ff63869aa32483fd3f32def0e6cd
MD5 622304878edbe264330f7c27920c6c26
BLAKE2b-256 c1a803f24706ce4aeb775209dc50a20eebd8e6b2618df35e912aa83b5a724223

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 67f4eae9ae227fdae39c9d868b009a0173baff2a3f0a82b10297081d20dcbd4d
MD5 401d9e11964de3a30efe0c0b96d6b9bf
BLAKE2b-256 3ec537213b49fc2ecbc298c61b2a8e93b76d3c78e1697dd8cc50824672d566c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2895987eda69bbfd3cc6db57ba09c118baba1432f1867f212d20c4753bc6a02a
MD5 7bc1ef0ccdc7e00699d1aff335874c6f
BLAKE2b-256 a556b22593faecf27bcbb52137f020ef89cf541adcfe9604ca4234a8167b7c4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b7374091075de612f94d8db71cedfde39d3bdb553fb2d42512b67034412ea797
MD5 bdfed53f323c8014b8bebaa5a3ecc7a9
BLAKE2b-256 39d1edf10860ef9e6cc9ae60bf76d8bad63e8d3022b2334d42e567f18f8917ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 832ab60ac4bbbc388b4021b638e220693ef8358aab8e3ac85361c353212ec65a
MD5 c8be7442ad977add87915b286fcdfdc7
BLAKE2b-256 bb134096e751db88002bbd093f7b637d22805d4571679d1935f490afc735050e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 58.8 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.2.16.39.41-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 dad00687f39375c83e3ad56d5cc6cd4eb539110369b1665eae1f2784c5bcab99
MD5 efd74fd804ffd1bf1dec412c61aa70ad
BLAKE2b-256 37f2ed337da7eacca83a37b8f0e4bc0d50c8f323bcb8c17fa999778e8b496e42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2020.9.2.16.39.41-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.2.16.39.41-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 d6676c02ac9f5b8a97d6877e0993a1b8ab08189eb89084063d39bfe99ca9280c
MD5 d0ba1b91ebf580c2e0c8bf7d2b95f93b
BLAKE2b-256 f91de59881b4a8b6edaad86467b11461d0a8e2b5e5b604fa1d121e11fb849408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 744cf11d73295e30e0303da1da6ccafd718649e3186d546cfa59586ea1ef7152
MD5 44b9d0287d9f8f7e53a0379d916a6643
BLAKE2b-256 35dc1c64548c10e8cae4accec5e9f0b51f82db308ce69e6dd2f6a1e2495f399c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 2491a9ba7089b74c4b152cfee2c632e694a35971cfdcf815e87d37f090929832
MD5 5bbcd2a6f2f3f4d2ab78d4a8ada26c34
BLAKE2b-256 3032b39136b40af357d8aacf3e5cc1f9f30e40adaf32f4abd4601db83fe6274f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 03db0e17f6d90f2568743aa6ec5e1d1b032d00e7d81c1a859deffe988dc31cbc
MD5 52c284ec7e3d0a5d5f42ed106111df01
BLAKE2b-256 f7835aef2f5c3b8ea87c9e35eeef3cf4e1e6f29daa5005ef91c1781e16525d27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 685c529e86dd8b38006c3ed95c759641bff45e4dbf301f52fbb4cc1796c08a81
MD5 6007fa86356f8567cd95c4a0a00b5707
BLAKE2b-256 9c67907a425e076b86b05b0b14f1e60d8ee2f3a379b9571594f7dee7594a1ce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2020.9.2.16.39.41-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6ccc5bab037321e971c8e032f3243b97b384abd87b285c113a599b736e22a905
MD5 3729e435b7bd8bbb1bf95f72e6c38371
BLAKE2b-256 56625b67959a522f2ea247a80eb02f0833109f4589fa244c835b7242fa37be69

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