Skip to main content

Add built-in support for quaternions 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-2018.10.1.22.5.32.tar.gz (45.3 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-2018.10.1.22.5.32-cp37-cp37m-win_amd64.whl (54.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-macosx_10_7_x86_64.whl (54.0 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-win_amd64.whl (54.7 kB view details)

Uploaded CPython 3.6mWindows x86-64

numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-macosx_10_7_x86_64.whl (54.0 kB view details)

Uploaded CPython 3.6mmacOS 10.7+ x86-64

numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-win_amd64.whl (54.7 kB view details)

Uploaded CPython 3.5mWindows x86-64

numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-macosx_10_6_x86_64.whl (54.0 kB view details)

Uploaded CPython 3.5mmacOS 10.6+ x86-64

numpy_quaternion-2018.10.1.22.5.32-cp27-cp27m-macosx_10_6_x86_64.whl (53.9 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ x86-64

File details

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

File metadata

File hashes

Hashes for numpy-quaternion-2018.10.1.22.5.32.tar.gz
Algorithm Hash digest
SHA256 e2c790d05d0ea786fc2ce3e19c469f660499e87acc0e2ea29f63295e07eb96d2
MD5 bd70a778f3069de365ae1d9ab01acf91
BLAKE2b-256 4665b046c9e7a3cba3a33a56f9aec66366ad2dc4ef64e4dd19d3b318f993d6bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bec1bf90bc35704b904de9dad7da44af64a316796a1c0d76d61fd3238a043aac
MD5 4f35dd21d68da84e4f97565e7222315b
BLAKE2b-256 f7dea4ed574c479daf89a39687a316f193c503aabfc15e25955a5cf9e0b49c7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1513afdc005b86d2d80a9a98c877b497a63f26a71a1a8fea18a15f39fe96ca67
MD5 73e63f47a9c40f905fc39ab84c2f0257
BLAKE2b-256 ac28daaf1ef257b505d45a96283dbb679fd2b3b3327957efcd2a9558d588e046

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 462f7efc08297991aeaf334de5099b82033b731df91779fc4ec2cf035c4d887c
MD5 f507f1a04693e9471ffb2cb85a13d62a
BLAKE2b-256 861b018756e18512c9106ed22ede33beb190f891881c8e6f0ba3ea16fbeb2d73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bda842fe4820568acc663f448670ca9b551ac45f6f011c6f0d951c5d2694bece
MD5 2f2f43191098d4d46f81d2740ab69de3
BLAKE2b-256 23ebe7c6afc8e261e1bd45fb5597180b81ae8c0dfbed4f3382871ec4d10eae7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b73f53fc77f20103baa24c9c9a54e9bd8341143d5f5dca202c82a82de61a70a5
MD5 3e84f5ba670ec48c55c1c64fced491fd
BLAKE2b-256 26dfd439fba2168bde03887f0154be6da8f61179315798c67515b4a5b8069ab7

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b889df49729da1499bee51cb08356dba7df85f8fea8fa11b4f1779042fbf7d4d
MD5 9431d2c84ce36f9f5c49f8c0d3a64ad6
BLAKE2b-256 cef7e542f969a72d42347bf7290704d9b5b9a676165d884ef8aa8d195ec812c2

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 925642c8f150011e07ec4ce92a23b937daef41946669b2802cccf8793485dd43
MD5 502505d07e4f1a25e9a7e6e5b647b5e0
BLAKE2b-256 d689f3285e4b740825ce1d4fe7065c78489bd89fb4fc94d137b821c655652c9e

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c0d6d36f2abdff2014fc0d34a1f6e0ca7f8d6a0ac8344e202cf95df8db77a384
MD5 b49b163495fd7efb41ef93801f6a7714
BLAKE2b-256 f0253078ffedc573eea627ba6787cd53dda1120aef935c6b90c3a6670dc434f8

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 9ecfabc8bd0976d8599ced82c67aec4b9fa25cb27be3576a6fb2b56a1d8b825e
MD5 bf2ae5b142c7ed39aedc956e8b21b197
BLAKE2b-256 3a156a42f0137add38b6170a225cccaf1da0bf9d44bd36bc0e4d69e5cccfa362

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7e53765a8532c660e75f4e8c60a4a5c4766d4ecb6f3ccd4f6f4b6e431fe93736
MD5 9a68f93b2449a603de3fcd41b0c9fa45
BLAKE2b-256 6b9f96b6ad7589cb2f214fce495a0f07741c987a9dd3decd1ccef821741a05a9

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.10.1.22.5.32-cp27-cp27m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.10.1.22.5.32-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 ad44987b3784377b47213627b5edfc20b96d90960db3c9a6697c8754a7f23098
MD5 0ff54587a9b376d9703214d23d574216
BLAKE2b-256 ba810062fec29c60a98ef10de1dddaa4c186df2a425227fd30e933fbd76d494e

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