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
AlgebraicNumber-2.4.4.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for AlgebraicNumber-2.4.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f8b836c3e4e03618b06965f43b44664ccb0374502308d7d8ef302b4a86f4be |
|
MD5 | cf918a30373a84d68a33f2155e05f63a |
|
BLAKE2b-256 | bed396c4841508f9a5cadcdd9e3262dff488084dff2e2e141d120a7401a26184 |