Skip to main content

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

  • Constants (π, e, φ, √2, γ, ...)
  • Custom implementations

📈 Exponential & Logarithmic

  • exp(x)
  • ln(x)
  • log10(x)
  • log2(x)
  • log(arg, base)

📐 Trigonometry

  • sin, cos, tan, cot, sec, cosec
  • inverse functions

🔢 Hyperbolic Functions

  • sinh, cosh, tanh, coth

🧮 General Functions

  • absolute(x)
  • sqrt(x)
  • gamma(x)
  • cbrt(x)
  • zeta(n) and beta(n)

∫ Calculus

  • Numerical integration
  • summation
  • convergence analysis
  • limit evaluation

🧱 Matrix Engine (NEW)

  • Matrix creation
  • A[i, j] access
  • Addition, subtraction, multiplication by using actual mathematical operators.
  • Transpose
  • Determinant
  • Inverse
  • Division (via inverse) by using / operator

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.

📦 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axiomx-0.1.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axiomx-0.1.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file axiomx-0.1.2.tar.gz.

File metadata

  • Download URL: axiomx-0.1.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for axiomx-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b21d447d61bc933c5d71dafcdcc7b16ffc1b84d11dc1898221272fe4bc7f38a1
MD5 f4c05d97cc8e8dc770ecbffa5f50240e
BLAKE2b-256 b07bfbdf9b0c5316c33389706891c3f03a43adf7c90bdf2632a64bcc0d8d2248

See more details on using hashes here.

File details

Details for the file axiomx-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: axiomx-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for axiomx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b138df788cc86b2e10efdfb4c8743838ae17650e0575cc4b470f19b92f36f1fc
MD5 35e7c0c6f1799f6dd9e36d07491ed877
BLAKE2b-256 c5fec6f68f10edde42d9b8d215c82e1a3592ffdcb0abb4514605049a0e2dbe15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page