Skip to main content

Mathematical Environment Library in Python

Project description

ArfLab — Mathematical Environment Library in Python

ArfLab is a Python library that provides an abstract mathematical environment designed to represent and manipulate sets, intervals, and number systems in a symbolic and intuitive way.

The project is continuously growing, with new mathematical structures and operations being added every day.

Developed and maintained by a Mathematics undergraduate student at Marmara University, ArfLab aims to combine mathematical theory with computational representation, creating a bridge between abstract reasoning and code implementation.


Features

  • Abstract representation of Sets, Intervals, and Number Systems

  • Support for Vector operations and linear algebra concepts

  • Symbolic and numerical computation environment

  • Integration with matplotlib for visualization

  • Intuitive class structures and error handling for mathematical rigor


Vector

  • Magnitude

  • Specific vector information

  • Inner product

  • Angle between two vectors

  • Visualization with matplotlib

  • Find unit vector

  • Cosine value between two vectors

  • Projection around two vectors


Matrix

  • Precisely defined mathematically

  • Transpose

  • Special matrix definitions

  • Determinant

  • Hadamard and classical product

  • Symbolic Matris

  • (3,3) Sarrus Method


Combinatorics

  • Permutation

  • Combination

  • Posibilty


Calculus

  • Find Supremum İnfrimum value

  • Σ and Π operations

  • Transformation

  • Monotonicity of the series

  • Symbolid sequance


Physics

  • Wave equation analysis and visualization

$$ \psi(x,y) = \frac{2}{\sqrt{L_x L_y}} \sin\left(\frac{n_x \pi x}{L_x}\right) \sin\left(\frac{n_y \pi y}{L_y}\right) $$

  • Energy levels of a particle in a two-dimensional cubic box

$$ E = \frac{\pi^2 \hbar^2}{2m} (n_x^2 + n_y^2 + n_z^2) $$

Wave_Equation(Lx=2.0, Ly=1.5, nx=4, ny=1, N=100)

Visualization

ArfLab includes built-in vector visualization features using matplotlib, allowing users to plot and analyze vector relationships directly in Python. This helps bridge the gap between symbolic manipulation and geometric intuition.

Installation / Download

PyPI (Recommended)

pip install ArfLab

Git

git clone https://github.com/Jolankaa/ArfLab

cd ArfLab

pip install .

Few Examples

import ArfLab

# Example: Creating a vector

  

v = ArfLab.Vector([1,2,3])

  

print("Magnitude:", v.magnitude())

# For visualization

v.Visualization()

  

# Example: Creating a matrix

  

m = ArfLab.Matrix([[1,2],[3,4]])

print("Determinant:", m.determinant())

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

arflab-2.1.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

arflab-2.1.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file arflab-2.1.1.tar.gz.

File metadata

  • Download URL: arflab-2.1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for arflab-2.1.1.tar.gz
Algorithm Hash digest
SHA256 cd21135082a63d7769b44db5058fd506105d3c12f09987a0c32af016dc9b23f5
MD5 895b52ee8a4ea4ef460c03d4b25efda1
BLAKE2b-256 9adf2d080174331956bceed41da229add9a11ed15292da5a85c655e1f3a7f5af

See more details on using hashes here.

File details

Details for the file arflab-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: arflab-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for arflab-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2acd6dc4389f2596980a40db78d8089f18f2c8b363cdbb83726684b11ae1265
MD5 3f741d56dc10a8b84bdcc60b44aa5a4c
BLAKE2b-256 2e3d8b577486d29266828a30e312fd68adb99c4ce38c04eb3d04b043fc47b6cf

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