Skip to main content

No project description provided

Project description

PyMathAlgoS

1. Установка

$ pip install pymathalgos

2. Функционал

Simple arithmetic

Функция вычисления факториала:

import pymathalgos
print(pymathalgos.factorial(2))
print(pymathalgos.factorial(-1))

Результат:

1
ArithmeticError: argument value must be bigger then zero!

Геометрия

Здесь вы можете увидеть готовые функции для геометрии

Если вы хотите узнать синус от градусов, а не от радиан есть простая функция sin_d(degrees).

import pymathalgos
# These 2 lines of code are means the same thinks
print(pymathalgos.sin_r(pymathalgos.to_radians(90)))
print(pymathalgos.sin_d(90))

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

pymathalgos-0.0.0.0.0.0.0.0.0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file pymathalgos-0.0.0.0.0.0.0.0.0.0.1.tar.gz.

File metadata

File hashes

Hashes for pymathalgos-0.0.0.0.0.0.0.0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c24b05486090aebf386cce76854f085259e1a1c98d8860759489ceeb8149310
MD5 4c7dfaf6a212509d931c89df6878b7ec
BLAKE2b-256 18e43548379ae1b654402327c43d847667cff09a06a4cd3a4ea275e95feacfb3

See more details on using hashes here.

File details

Details for the file pymathalgos-0.0.0.0.0.0.0.0.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pymathalgos-0.0.0.0.0.0.0.0.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 29803e34af27691b3eec42e66af3cfc57bd3c3a6b66fb5ff2cd7231043c4bb22
MD5 152b8da9a7c13853cd38b9ac84cca797
BLAKE2b-256 798fe8ee692cc41abd4f9a2688938220a1453b747e6c3f8113848452cc8d6538

See more details on using hashes here.

Supported by

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