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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymathalgos-0.0.0.0.0.0.0.0.0.0.1.tar.gz
.
File metadata
- Download URL: pymathalgos-0.0.0.0.0.0.0.0.0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c24b05486090aebf386cce76854f085259e1a1c98d8860759489ceeb8149310 |
|
MD5 | 4c7dfaf6a212509d931c89df6878b7ec |
|
BLAKE2b-256 | 18e43548379ae1b654402327c43d847667cff09a06a4cd3a4ea275e95feacfb3 |
File details
Details for the file pymathalgos-0.0.0.0.0.0.0.0.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pymathalgos-0.0.0.0.0.0.0.0.0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29803e34af27691b3eec42e66af3cfc57bd3c3a6b66fb5ff2cd7231043c4bb22 |
|
MD5 | 152b8da9a7c13853cd38b9ac84cca797 |
|
BLAKE2b-256 | 798fe8ee692cc41abd4f9a2688938220a1453b747e6c3f8113848452cc8d6538 |