Collections of useful tools in mathematics.
Project description
Extended Math
extmath (formerly mathapi) aims to provide a lightweight & independent
extended mathematical module for Python 3.
Avalable Feature
- Infinite Number Sets
prime: 2, 3, 5, 7, 11, 13, 17, ...- primary test done by asking does element exists, e.g.
13 in prime.
- primary test done by asking does element exists, e.g.
fibonacci: 1, 1, 2, 3, 5, 8, 13, 21, ...- Compute fibonacci number at any index by
fibonacci(i). It's the same asfibonacci[i], except the list will not growth.
- Compute fibonacci number at any index by
- Duality Value-Function Data Type
pi: 3.1416..., or prime-counting function.phi: 1.6180..., or Euler's totient function.
- Subscriptable Function
sigma: divisor function,sigma[0]for len andsigma[1]for sum.
- Number Theory
factorized: Prime factorization of a number.divisors: Show all positive divisable numbers of a number.Fraction.decimal: Show repeating decimal of a fraction number.
- Arithmetic Function
product: Production of a list of numbers.sumpow: Summation of numbers from[1..n], or[1**p..n**p].sumexp: Summation of numbers from[r**0..r**k].
See document in file test.rst
Installation
Download source and, as root
python setup.py install
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
extmath-0.9.2.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extmath-0.9.2.tar.gz.
File metadata
- Download URL: extmath-0.9.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85d58c3355d7c8da483fcf8cb6fbd188156109f16d3d0d535d9e82ad4eddd6cd
|
|
| MD5 |
afab61b2539600e69b76a640d424c3a3
|
|
| BLAKE2b-256 |
98638132bd52b1c0e4e5db6f728d1733e9c98b606abcc38152f36ce3c1b91886
|
File details
Details for the file extmath-0.9.2-py3-none-any.whl.
File metadata
- Download URL: extmath-0.9.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ed62eee2f7c0ca693e9fde14a5c2e27178336d586cfe63b206935f3cc4a5b6
|
|
| MD5 |
c6d7c6ed91952f18bb6732f1459f0695
|
|
| BLAKE2b-256 |
547ee651cfeb7de9625d9412441f3e0b22d610ccc72c50b57b5ca95f7005799b
|