Skip to main content

UNKNOWN

Project description

Quaternion arithmetics for Python.

Usage:

>>> from quaternion import Quaternion as H
>>> q1 = H(2, 3, 2, 3)
>>> q2 = H(3, 2, 3, 2)
>>> q1 * q2
(-12 + 8i + 12j + 18k)
>>> q2 * q1)
(-12 + 18i + 12j + 8k))

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

quaternion-algebra-1.0.tar.gz (16.1 kB view details)

Uploaded Source

File details

Details for the file quaternion-algebra-1.0.tar.gz.

File metadata

File hashes

Hashes for quaternion-algebra-1.0.tar.gz
Algorithm Hash digest
SHA256 3433688daa50a7cac54e0a16f305e924bece62c68947921160cbd7d442d95727
MD5 3828d3e73fe228818bf9ca801a36870a
BLAKE2b-256 5a3276c60f33820b5ad6bb1947037f07099f63e9201803b1d04e8316f9d46a06

See more details on using hashes here.

Supported by

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