Skip to main content

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)

Uploaded Source

Built Distribution

AlgebraicNumber-2.4.4-py2.py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 2 Python 3

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