Skip to main content

Compute complex numbers operations such as addition, substraction, multiplication , division and modulus.

Project description

Downloads Downloads Downloads

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_dkydky.united@gmail.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/deepak7376/complex/blob/master/LICENSE

Contributing

  1. Fork it (https://github.com/deepak7376/complex/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. 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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

complex-0.1.9-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file complex-0.1.9.tar.gz.

File metadata

  • Download URL: complex-0.1.9.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for complex-0.1.9.tar.gz
Algorithm Hash digest
SHA256 f3103ecf4b97e0fcfb6f5ad052e8ca42ca8e9a0b86ff92ade21ddcf2ff3223e5
MD5 4dbd8252c430cabfc7604b4d7531b00b
BLAKE2b-256 04e98e66803c24c2f9d058bf8138e8cae9c11c7b84184779d4272323ae464447

See more details on using hashes here.

File details

Details for the file complex-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: complex-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for complex-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 636766071b6fdb654bab6c1fb71034df3c82163c7e0ae3b88119a0617adaa09d
MD5 a5edca981271e96377f7645772f8a15b
BLAKE2b-256 70def223cab1d371385c52b0ce2775bea24a7b96b1eca9c79eb2136fadbe9cf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page