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.5.16.9.16.21.tar.gz (44.1 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.5.16.9.16.21-cp36-cp36m-win_amd64.whl (52.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

numpy_quaternion-2018.5.16.9.16.21-cp36-cp36m-macosx_10_7_x86_64.whl (51.8 kB view details)

Uploaded CPython 3.6mmacOS 10.7+ x86-64

numpy_quaternion-2018.5.16.9.16.21-cp35-cp35m-win_amd64.whl (52.9 kB view details)

Uploaded CPython 3.5mWindows x86-64

numpy_quaternion-2018.5.16.9.16.21-cp35-cp35m-macosx_10_6_x86_64.whl (51.9 kB view details)

Uploaded CPython 3.5mmacOS 10.6+ x86-64

numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-win_amd64.whl (49.8 kB view details)

Uploaded CPython 3.4mWindows x86-64

numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-macosx_10_6_x86_64.whl (52.9 kB view details)

Uploaded CPython 3.4mmacOS 10.6+ x86-64

numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-win_amd64.whl (46.7 kB view details)

Uploaded CPython 2.7mWindows x86-64

numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-macosx_10_6_x86_64.whl (51.7 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ x86-64

File details

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

File metadata

File hashes

Hashes for numpy-quaternion-2018.5.16.9.16.21.tar.gz
Algorithm Hash digest
SHA256 a4680bdd67c6d49890ad88f2f5b38d507d13c964c18be061b66133b0fd64fa53
MD5 d82e201ce020f50bb4b5d0a80755800d
BLAKE2b-256 ad209012ee7b2971bf2ae5955bcf8b060cbc1fdd2fa9c8dce382a7f77dfde72a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2c5d8fddb26b4ed152a2cf2b3075941abb6708cfa2bfbb169bd9e9a941e43093
MD5 6c8a18e2f16cee07743acea9f837cd44
BLAKE2b-256 b9158d47dd21c1912efdff60a37e7da3e8f437f6441c3ce435b7be4c81c2fabe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b5c751c26cd81ec542f0f75e5b3a78a6f7a2c31126e858546e65cca0c65dc572
MD5 b6b8474c279527a39b4d317ae3c10f47
BLAKE2b-256 c270dfa42a71a217b4ba857fed1e0ce05eb6c3084cfb257f4f3bdbeb8ca8bcbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0411306aca0bd4411ddd209da8f67fa75942474e86cfc10e7f76cb5e4e456bcf
MD5 093f0607ddaaed1aaf4df887adecf2ed
BLAKE2b-256 01887283fbbb329b61868314a935972c0632403fcaafa2827329d9c48737868c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b9231bd098f552d3852fbb1e7527bec8d859d141efce045be4d0dcc05c776fc4
MD5 e4610783bd55f66c2097c0844dad121e
BLAKE2b-256 5ece6417ae0bf1d1f84f02e6bd6f29efccfe02ee2a903daefb5923276893a5e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ade38fedd02865fb7adc67e9f12f0030a71c0ec9cda10ee73eb6838f084dd806
MD5 5e65c1086d5142c060b1919e6a42219f
BLAKE2b-256 9fa4883fb56abdb1fb284bb4c9433892cfce48384760c325925a84f1bcc27648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 a692498fa7241234c0f31e3bcf809ec34cba3eae3fac56348a755f2d50550bb3
MD5 031b143394517da5b1c8f1f2b3dcbfe8
BLAKE2b-256 1832f58e79fe5f0d12bdf4e1a52abaf573d171ed7c99f0a941bafb079e5045fc

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 1e04c52d476a7673e734c0dcd2d8ef7b815de9dfbc0b27b47ec38f6b87b2ac91
MD5 839adfd05cc1999ea48feeac57de0bbb
BLAKE2b-256 6cd7e035fbb662b810c2cf6d9b740a3c396d8f01bf65adcf31bb74a87bfd94d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 138dc67f4ee456abd0352ef8e2d8ef93182b18d4b85a9202f1e2d5c523802fee
MD5 18d5d8c8f51c6b6d8f4631aaa507f9e1
BLAKE2b-256 6f9753c6ec0127bcc36d615de029aa8064c8e6455df991940b053d6a73819dfe

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-macosx_10_6_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp34-cp34m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 3a4945fdafd8e9299ea4df198dce93e98c8186f9236e2428694c3f192a113e21
MD5 b3b0bd9c19d1269dd60a5ae34c3dd032
BLAKE2b-256 98a6664a28c8ac5d8255fbf5b461b1d98d75d76b9730f8686a0f2a9d74c77a89

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.5.16.9.16.21-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d3e3422e8ed72321e84f5edc64eb36997e9b3aff3bce7a04a04f6db5b84ec3ae
MD5 3d1c697347449a69e59b7f1708ee5024
BLAKE2b-256 9872f654c84b271c2b4d5401dd567431f450ddb44fbe4d7acbbe90cf944c4cf3

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 4b119ea07a5ba8ae74d248a3d050d0a4a81135a5d322a79a6111e10ae0b9a5d8
MD5 b0b4f4c210af44b4733435d1c428a63d
BLAKE2b-256 3439e9ec8ee87043fdae9b62f713dadb682f2792ba05fc33fe8c037626e761ca

See more details on using hashes here.

File details

Details for the file numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 26b255e6c621d6603929894b97c88b7d99cb6baf2a5194bc784e84b4cbf026ef
MD5 2f39b377fa848510c2ae435e5805ef6f
BLAKE2b-256 053ab52c2c349447cf9cc283a3f604db60ca84f5b379fa3d38878c2c19ca666c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_quaternion-2018.5.16.9.16.21-cp27-cp27m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 3c30121724a804c9c6ded2def2725d77ed855f4722c7040ced5bf6edd43a30d2
MD5 ed1c302bf9370d9453483c4a8dd17bb0
BLAKE2b-256 570fdf48e02829c54e1c60b82d107d030d7472442a070d900f1a3c3eceb26b30

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