Skip to main content

A package for using quaternions

Project description

Quaternion

This package contains the code to enable calculations with Quaternions. Quaternion are in essence, 4-dimensional complex numbers that have applications in Mathematics, Physics and Computer Science. For more information check out (https://en.wikipedia.org/wiki/Quaternion)

This once was an area of study for myself during my undergraduate and I thought for a challenge I would make this package.

Table of contents

Installation

There are two sources for installation:

As the package develops the changelog can be found here

Documentation

Our documentation is hosted on ReadTheDocs and can be found here: https://quaternion-djs.readthedocs.io/en/latest/

Example

The Quaternion class can be initialized easily by just supplying the corresponding values for the x, i, j, k components and then use in calculations as required. For the full list of methods and attributes available see the documentation.

>>>from quaternion_djs import Quaternion
>>>quaternion_1 = Quaternion(1, 2, 0, 1.2)

Contributing

If anyone wishes to contribute to improving this code base please see our contributing guide however please bear in mind our code of conduct

License

This work is released under the MIT License which you can find here

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_djs-1.0.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

quaternion_djs-1.0.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file quaternion_djs-1.0.0.tar.gz.

File metadata

  • Download URL: quaternion_djs-1.0.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for quaternion_djs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16bff538e3ecbeb39f8762882464890e718c92ccd465da022eedc0c78d566c93
MD5 883ed400c2798209a677e4d347f71132
BLAKE2b-256 0267716118e5a15ee707b448f3b31984e833bc84545b1a9322478fe3153bd411

See more details on using hashes here.

File details

Details for the file quaternion_djs-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quaternion_djs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48bf8badd3559b435618be924612d595ab3a3088d76ccdbfcf57d32847e02d6d
MD5 23e9e2a5104bd8a1597ab7483333627a
BLAKE2b-256 55315ef808ecc1c06425afecf409e39227ec654e99e0564c40799a53e6fbe9d1

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