A dynamic Python math library containing numerous mathematical functions implemented from scratch.
Project description
🔢 AxiomX
AxiomX is a lightweight pure-Python mathematical library focused on implementing core numerical methods and elementary functions from first principles — without relying heavily on Python’s built-in math module.
It is designed for:
- Learning numerical analysis
- Exploring series expansions & iterative solvers
- Building symbolic/numeric math engines
- Educational and experimental use
🌐 Website Notice
We have permanently shifted to:
👉 https://axiomxpy.wordpress.com
All official announcements, documentation updates, and project news will now be published on this site.
Please update any old bookmarks or links to ensure you are accessing the latest resources.
📦 Package Structure
AxiomX/
│
├── constants.py # Mathematical constants
├── functions.py # Utility & root functions
├── exp.py # Exponential & logarithmic
├── trig.py # Trigonometric & inverse trig
├── hyperbolic.py # Hyperbolic functions
├── calculus.py # Numerical integration
└── __init__.py # Loader & module imports
🚀 Installation
pip install axiomx
Or locally:
git clone https://github.com/yourname/axiomx
cd axiomx
pip install .
▶ Importing
import AxiomX
from AxiomX import trig, exp, calculus, constants
📐 constants.py
Provides fundamental mathematical constants:
pi, e, lemniscate, gauss, euler_mascheroni,
sqrt_2, sqrt_3, sqrt_5, golden_ratio
🧮 functions.py
absolute(x)
sqrt(a, x0=None, tol=1e-30, max_iter=20)
📈 exp.py
exp(x)
ln(x)
📐 trig.py
radians(deg)
degrees(rad)
sin(x, terms=20)
cos(x)
tan(x)
cot(x)
sec(x)
cosec(x)
arcsin(x, iterations=10)
arccos(x)
arctan(x)
arccot(x)
arcsec(x)
arccosec(x)
🔁 hyperbolic.py
sinh(x)
cosh(x)
tanh(x)
coth(x)
∫ calculus.py
integrate(function, lowlim, uplim, n=10000)
🧪 Example
from AxiomX.constants import pi
from AxiomX.trig import sin
from AxiomX.calculus import integrate
print(sin(pi/2))
print(integrate(lambda x: x**2, 0, 1))
📜 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.0.tar.gz.
File metadata
- Download URL: axiomx-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f0e46128ecd32004e983dd1773812c5a552a67ec878f9bb2cf757fdd698c06
|
|
| MD5 |
a9864d24f3f39ceabcdbfd74b6612bf6
|
|
| BLAKE2b-256 |
460dea36d9225b5cbd3130e8ca299ca19c891d43c5ad9ea575d69782f24e43a4
|
File details
Details for the file axiomx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axiomx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 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 |
ecce430ce86ea18a3a7269228ff6192376fcd9f227e124b31086d995d6b43c48
|
|
| MD5 |
c085e1005af957716bd4e21ac9350d48
|
|
| BLAKE2b-256 |
7c8acd8acc7436bdc86f1733bafd5243da50cf324e85ef8a1fb91702e9c0b9fc
|