Zaker237 / ComplexNumber

Cnumber is python package to handle defferents operation with complex numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cnumber

Thid repository privide a tool to handle maths operation with complex number.

installation

Clone this repository, cd into it and run:

python -m pip install .

Usage

from cnumber import ComplexNumber

number1 = ComplexNumber(1, 2)
number2 = ComplexNumber(3, 4)

number1.add(number2)

print(number1)
# this should be print 4 + 6i

About

Cnumber is python package to handle defferents operation with complex numbers

License:MIT License


Languages

Language:Python 100.0%