Compute complex numbers operations such as addition, substraction, multiplication , division and modulus.
Project description
Complex
Compute complex numbers operations such as addition, substraction, multiplication , division and modulus.
Installation
OS X , Windows & Linux:
pip install complex
Usage example
Use for complex number mathematics
from complex import Complex
x = Complex(2,3)
y = Complex(4,5)
print(x+y, x-y, x*y, x/y, x.mod(), y.mod())
Development setup
For local development setup
git clone https://github.com/deepak7376/complex
cd complex
pip install -r requirements.txt
Meta
Deepak Yadav – @imdeepak_dky – dky.united@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/deepak7376/complex/blob/master/LICENSE
Contributing
- Fork it (https://github.com/deepak7376/complex/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
References
None
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
complex-0.1.9.tar.gz
(2.5 kB
view hashes)