complex-0.2.0
توضیحات
Compute complex numbers operations such as addition, substraction, multiplication , division, modulus, conjugate and angle.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | complex-0.2.0 |
| نام | complex |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Deepak Yadav |
| ایمیل نویسنده | dky.united@gmail.com |
| آدرس صفحه اصلی | https://github.com/deepak7376/complex |
| آدرس اینترنتی | https://pypi.org/project/complex/ |
| مجوز | MIT |
[](https://pepy.tech/project/complex)
[](https://pepy.tech/project/complex/month)
[](https://pepy.tech/project/complex/week)
# Complex
> Compute complex numbers operations such as addition, substraction, multiplication , division, modulus, conjugate and angle.
## Installation
OS X , Windows & Linux:
```sh
pip install complex
```
## Usage example
Use for complex number mathematics
```python
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(), x.angle(), y.angle(), x.conjugate(), y.conjugate(), x.log(), y.log())
```
## Development setup
For local development setup
```sh
git clone https://github.com/deepak7376/complex
cd complex
pip install -r requirements.txt
```
## Meta
Deepak Yadav – [@imdeepak_dky](https://twitter.com/imdeepak_dky) – dky.united@gmail.com
Distributed under the MIT license. See ``LICENSE`` for more information.
[https://github.com/deepak7376/complex/blob/master/LICENSE](https://github.com/deepak7376)
## 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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl complex-0.2.0:
pip install complex-0.2.0.whl
نصب پکیج tar.gz complex-0.2.0:
pip install complex-0.2.0.tar.gz