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-0.2.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quaternion_djs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7fe3b3983e8f9cc3f1e94ac0a98be84f4f6c5db0ae1f339be88a305defcffa24
MD5 d2bb3224050dc870a62042454944a86a
BLAKE2b-256 fdb26de21ac85e26868618e975ab1cb1c51138652db3913dae153955bf093edd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quaternion_djs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8abaf43f73413f32956fffe73149dbe8ab1504dd4128e3d6e0a343c6320768d7
MD5 5af4d38e429bf0b966d4d3f5545a00a6
BLAKE2b-256 101c1afbe34d36786cafe10bd0d899971147e414c43b259cea7495665c7491ea

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