A dynamic Python math library containing numerous mathematical functions implemented from scratch.
Project description
AxiomX
AxiomX is a lightweight Python scientific math library focused on numerical computation, series-based evaluation, and foundational mathematical functions. It is designed to be simple, fast and extensible—ideal for learning, experimentation, and building advanced math systems.
🚀 Features
📚 Constants (included in AxiomX.constants)
pie- lemniscate constant (
lemniscate) - gauss constant (
gauss) infinity- square roots of 2, 3 and 5 (
sqrt_2,sqrt_3,sqrt_5) - golden ratio (
golden_ratio) - silver ratio (
silver_ratio) metallic_ratio(n)- Returns the metallic ratio of the order n.- euler-mascheroni constant (
euler_mascheroni)
🔢 Mathematical Functions (included in AxiomX.functions)
absolute(x)sqrt(n)- using Halley's Methodcbrt(n)- using Newton-Raphson Methodgamma(x)factorial(n)- using gamma functionzeta(n)- returns the Riemann Zeta function evaluated at nbeta(n)- returns the Dirichlet Beta function evaluated at nbc(n, k)- returns the binomial coefficient evaluated at n and kpascal(row)- returns a list containing all the numbers at the rowth row in the Pascal Triangle.
📈 Exponential Functions (included in AxiomX.exp)
exp(n)- returns e^n, where e is Euler's number.ln(x)- returns the natural logarithm of x.log10(x)- returns the common logarithm of x.log2(x)- returns the binary logarithm of x.log(arg, base)- returns the logarithm of arg to the base base.
📐 Trigonometric Functions (included in AxiomX.trig)
sin(x)— Calculated from Taylor series expansioncos(x)— derived from sinetan(x),cot(x),sec(x),cosec(x)radians(deg)— degrees → radiansdegrees(rad)— radians → degrees
🔄 Inverse Trigonometric Functions (also included in AxiomX.trig)
arcsin(x)— Newton's methodarccos(x)arctan(x)arccot(x)arcsec(x)arccosec(x)
🔥 Hyperbolic Functions and Inverse Functions (included in AxiomX.hyperbolic)
sinh(x)- calculated using formulacosh(x),tanh(x),sech(x),cosech(x),coth(x)arcsinh(x),arccosh(x),arctanh(x),arccoth(x),arcsech(x),arccosech(x)
🧠 Usage
from AxiomX import trig, constants, calculus
print(trig.sin(constants.pi)) # prints 0
print(calculus.converges(lambda x: 1 / x)) # prints False
🛣️ Roadmap
Upcoming improvements:
- Limit evaluation engine
- Convergence detection for series
- Combinatorics utilities, Pascal's Triangle
- Performance optimizations.
🤝 Contributing
Contributions are welcome!\You can help by:
- Reporting bugs in our Discord
- Adding suggestions
- Improving performance.
📦 Installation
You can install AxiomX by going into the terminal and typing pip install AxiomX.
📄 License
This software is licensed under MIT and no one is supposed to copy code from AxiomX.
🌐 Links
Website: https://axiomxpy.wordpress.com
Discord Invite: https://discord.gg/CrEf8mDB
⭐ Support
If you like AxiomX, consider:
- Sharing it with other friends
- Using it in your projects
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.1.tar.gz.
File metadata
- Download URL: axiomx-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ca17192b9efdbc31bf292fd8aa1ec277673679c68bceceb5e37f874c9d8f012
|
|
| MD5 |
fc8f8ee567c539bcac1afb6821d336b1
|
|
| BLAKE2b-256 |
21bb9f7d613ded0d88ebdfad4adcbf119bce5285a4a633fde448484cb4700b9d
|
File details
Details for the file axiomx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: axiomx-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.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 |
aa9c104f613f05ab0533a3426bb2f0c633403eee102cd7e5688eeb168dfec331
|
|
| MD5 |
e6f6bacb44d7ce350e8624cde9945d52
|
|
| BLAKE2b-256 |
a7b452a56ddc572e40790a5da50c21616c4d3db3503ab50704ccdd8c28d53acf
|