Manipulation of algebraic numbers
Project description
# AlgebraicNumber
[![image](https://img.shields.io/pypi/v/AlgebraicNumber.svg)](https://pypi.python.org/pypi/AlgebraicNumber) [![image](https://gitlab.com/ydethe/algebraicnumber/badges/master/pipeline.svg)](https://gitlab.com/ydethe/algebraicnumber/pipelines) [![codecov](https://codecov.io/gl/ydethe/algebraicnumber/branch/master/graph/badge.svg?token=T84J2LCHND)](https://codecov.io/gl/ydethe/algebraicnumber)
A library to manipulate algebraic numbers
## Documentation
To generate the documentation,run:
nox
https://ydethe.gitlab.io/algebraicnumber/docs
## Usage
>>> z = AlgebraicNumber.unity() + AlgebraicNumber.imaginary() >>> z.poly.printCoeff() '[2,-2,1]' >>> p = z*z.conj() >>> p.poly.printCoeff() '[-2,1]'
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
Built Distribution
File details
Details for the file AlgebraicNumber-2.4.4.tar.gz
.
File metadata
- Download URL: AlgebraicNumber-2.4.4.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 757055508597b12318ab34956c3bcf489e439a5e5345475018c66ec80cb6f5c5 |
|
MD5 | 20eae198099daf43b484d9033910130c |
|
BLAKE2b-256 | 4911aa47e5b4435455b3558e1e949357a86e818809f9b427eb19e954e956b96d |
File details
Details for the file AlgebraicNumber-2.4.4-py2.py3-none-any.whl
.
File metadata
- Download URL: AlgebraicNumber-2.4.4-py2.py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f8b836c3e4e03618b06965f43b44664ccb0374502308d7d8ef302b4a86f4be |
|
MD5 | cf918a30373a84d68a33f2155e05f63a |
|
BLAKE2b-256 | bed396c4841508f9a5cadcdd9e3262dff488084dff2e2e141d120a7401a26184 |