A dynamic Python math library containing numerous mathematical functions implemented from scratch.
Project description
🔢 AxiomX
AxiomX is a lightweight, pure-Python mathematical library built from first principles --- designed for accuracy, learning, and mathematical exploration.
📢 Community
Join Discord for updates and feature requests. Join here.
🚀 Features
📐 Core Mathematics (AxiomX.constants)
- Constants (π, e, φ, √2, γ, ...)
- Custom implementations
📈 Exponential & Logarithmic (AxiomX.exp)
- exp(x)
- ln(x)
- log10(x)
- log2(x)
- log(arg, base)
📐 Trigonometry (AxiomX.trig)
- sin, cos, tan, cot, sec, cosec
- inverse functions
🔢 Hyperbolic Functions (AxiomX.hyperbolic)
- sinh, cosh, tanh, coth
🧮 General Functions (AxiomX.functions)
- absolute(x)
- sqrt(x)
- gamma(x)
- cbrt(x)
- zeta(n) and beta(n)
- bc(n, k) - NEW
- perm(n, K) - NEW
- pascal(row) - NEW
∫ Calculus
- Numerical integration
- summation
- convergence analysis
- limit evaluation
🧱 Matrix Engine
- Matrix creation
- A[i, j] access
- Addition, subtraction, multiplication by using actual mathematical operators.
- Transpose
- Determinant
- Inverse
- Division (via inverse) by using / operator
- Rank of a Matrix by Gaussian elimination (NEW)
If you want to create a zero matrix or identity of any order, you can do it this way:
from AxiomX.matrix import Matrix
a = Matrix(x,y) # you can put your values in place of x and y.
a.zero() # for zero matrix
a.identity() # for identity matrix.
If you want to create a matrix, from a list, you can try it this way:
from AxiomX.matrix import Matrix
a = Matrix.from_list([]) # enter your matrix in it.
📈 GRAPH ENGINE - NEW (included in AxiomX.graph)
AxiomX has introduced a killer feature - graphing. Just like how matplotlib is for numpy, AxiomX has introduced a graph module. It has only one function:
- plot(functions, start, end)
The functions argument can a function or list of functions. It also contains a scale and you can provide a starting and ending limit. We will add zooming later.
📦 Installation
pip install axiomx
▶️ Usage
from AxiomX.matrix import Matrix
A = Matrix.from_list([1, 2], [3, 4]])
print(A.det())
🧠 Philosophy
Accuracy > Speed
🌐 Website
https://axiomxpy.wordpress.com
🛣️ Roadmap
- Advanced linear algebra
- Series & constants
📜 License
MIT License
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
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 axiomx-0.1.3.tar.gz.
File metadata
- Download URL: axiomx-0.1.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c376f13a33696a3835783b315a28d434c195c85d472da29b8cdc55809b14396d
|
|
| MD5 |
74d17e5304aeb0ed7d5f4f224e05be92
|
|
| BLAKE2b-256 |
1c59fc9e33344d452f5abd5e0de3efbf60ee2e7d6f698643f42cf2656dfcfe8d
|
File details
Details for the file axiomx-0.1.3-py3-none-any.whl.
File metadata
- Download URL: axiomx-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d61608f5a03bbf9c95646711446e7fb483848ae40b6a0a288c62da59068c8156
|
|
| MD5 |
8ca0ba113a1369f3af8f9c285c492150
|
|
| BLAKE2b-256 |
b86732062812572f028f4743a1e4c2f991d5801ff0436b37c8876ecfa4cd6b37
|