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.
Failed to load latest commit information.
complexdecimal Create May 28, 2016
LICENSE Initial commit May 28, 2016 Update May 28, 2016


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: