Python Decimal support for complex Numbers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
complexdecimal Create errors.py May 28, 2016
LICENSE Initial commit May 28, 2016
README.md Update README.md May 28, 2016

README.md

ComplexDecimal

Python Decimal support for complex Numbers

Quick example:

from complexdecimal import ComplexDecimal
a = ComplexDecimal(1,2)
b = ComplexDecimal(1,2)

print a+b #2+4i
print a.sin()
print b.ln()

#See wiki for list of all functions

To install:

sudo pip install complexdecimal

To update to latest version:

sudo pip install complex decimal --update

Alternatively avaliable here: https://pypi.python.org/pypi/complexdecimal/