Metadata-Version: 2.4
Name: AxiomX
Version: 0.1.41421
Summary: A dynamic Python math library containing numerous mathematical functions implemented from scratch.
Author: Eric Joseph
License: MIT
Requires-Python: >=2.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file
Dynamic: requires-python

# AxiomX 

A lightweight, pure-Python mathematical engine with an interactive graphing system.

## Description

AxiomX is a custom-built mathematics library designed to explore and implement core mathematical concepts from first principles — without relying on heavy external libraries like `NumPy` or `Matplotlib`.

It provides tools for:
- Fundamental mathematics
- Calculus operations
- Matrix manipulation
- Interactive graph plotting

## Features

### Core Mathematics

- Trigonometric functions (sin, cos, tan and their reciprocals) and their inverses.
- Hyperbolic functions (sinh, cosh, tanh and their reciprocals) and their inverses.
- Exponential and Logarithmic functions.
- Custom implementations (no external math engines).

### Calculus

- Integration
- Summation
- Convergence detection

### Constants

- π (pi)
- e (Euler's number)
- Square Roots of 2, 3 and 5
- Golden ratio, Silver ratio
- Metallic ratios
- Bernoulli numbers
- Stieltjes numbers

Find the Easter egg in AxiomX!

### Matrix operations

- Matrix addition, subtraction, multiplication and division.
- Matrix inverse, rank and determinant.

### Graphing

AxiomX is now having an advanced graphing system in `AxiomX.graph`. It now supports the following:

- Plotting multiple functions (without list)
- Improved anti-aliasing
- Supports resetting the zoom level
- Supports exporting graph in high resolution (using `PIL`)
- Dynamic grid, axis and graph lines

## Installation

You can install it via PIP:\
```pip install AxiomX```

Or install it using the wheel file in the downloads section.

## Quick Start

### Basic Usage

```
import AxiomX.trig as t
import AxiomX.constants as c

print(t.sin(c.pi / 2)) # prints 1.0
print(t.cos(c.pi)) # prints -1.0
```

### Plot a Graph

```
from AxiomX.graph import plot

plot(lambda x:x**3) # plots graph of x³
```

### Plot multiple functions in one graph

```
from AxiomX.graph import plot
from AxiomX.trig import *

plot(lambda x: sin(x)**2, lambda y: cos(y)**2, lambda z: 1) # explanation for sin²x + cos²x = 1
```

### Graph Controls

- Arrow keys - panning around the graph
- Page Up - Zoom out
- Page Down - Zoom in
- Spacebar - reset zoom to 100%

### Project Structure:

```
AxiomX/
│
├── calculus.py       # Differentiation, integration
├── constants.py      # Mathematical constants
├── exp.py            # Exponentials and logs
├── functions.py      # General math utilities
├── graph.py          # Interactive graphing engine
├── hyperbolic.py     # Hyperbolic functions
├── matrix.py         # Matrix operations
├── sqrt_2.py         # √2 expansion (special module)
├── trig.py           # Trigonometric functions
└── __init__.py
```

## Note

This library is designed for mathematical and educational purposes. It is NOT intended to replace high-performance libraries like NumPy or SciPy.

## Version

0.1.41421 (that's √2!)
