A math module with custom functions, utilities and calculations
Project description
Infinitive math
nfinityMath is a Python module designed for advanced mathematical computations. It includes functions for algebra, trigonometry, calculus, quadratic equations, and graphical plotting. This module aims to provide efficient and easy-to-use mathematical tools for students, engineers, and researchers.
How to use:
InfinityMath
InfinityMath is a Python module that provides a collection of mathematical functions, including basic arithmetic operations, trigonometric functions, factorial calculation, logarithms, quadratic equation solving, and function plotting.
Installation
To use this module, simply copy the InfinityMath directory into your Python project.
import InfinityMath.algebra
from InfinityMath import algebra
from InfinityMath import trigonometry
from InfinityMath import calculus
from InfinityMath import graphics
from InfinityMath import quadratics_math
Usage
Import the module and use its functions as shown in the examples below:
import InfinityMath.algebra
from InfinityMath import algebra
from InfinityMath import trigonometry
from InfinityMath import calculus
from InfinityMath import graphics
from InfinityMath import quadratics_math
print(InfinityMath.__version__)
#get version
print(InfinityMath.algebra.div(2,5))
print(InfinityMath.algebra.pow(3,5))
# You can use sqrt, sum, substarction and other functions below
roots = InfinityMath.quadratics_math.solve_quadratic(1, -3, 2)
print(roots) # Outputs the roots of x² - 3x + 2 = 0
from InfinityMath import graphics
import math
def f(x):
return math.sin(x)
InfinityMath.graphics.plot_function(f, -math.pi, math.pi)
from InfinityMath import calculus
result, error = calculus.integrate_function(lambda x: x**2, 0, 1)
print(result, error)
print(InfinityMath.e)
print(InfinityMath.pi)
Features
- Basic arithmetic operations:
sum,subtraction,product,div - Exponential and logarithm functions:
pow,log - Trigonometric functions:
sin,cos,tan,asin,acos,atan - Factorial calculation:
factorial - Quadratic equation solving:
solve_quadratic,viet_quadratic - Function plotting:
plot_function,plot_multiple_functions
License
This project is open-source. You are free to modify and distribute it.
Changelog
[1.0.0] - 2025-04-26
- pi and e are added as a constant
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 InfinityMath-1.0.0.tar.gz.
File metadata
- Download URL: InfinityMath-1.0.0.tar.gz
- Upload date:
- Size: 11.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e474b3d0b0ebeb00a78c579fcba565717fcac1068660835b3c0daba33a483c7
|
|
| MD5 |
ece8edf0e5ea0e4ebeee2e0e035b75e0
|
|
| BLAKE2b-256 |
7f16cbf706ca8f5eeb3c92bb8f1182355f79ee84809703fdf509b79e50f858d2
|
File details
Details for the file InfinityMath-1.0.0-py3-none-any.whl.
File metadata
- Download URL: InfinityMath-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ec4d5d0d36087f0dfebca5018a4a32da8bb5b4333899de4873d90f2e4ddb973
|
|
| MD5 |
7fbc654b1251e69d571785157422274c
|
|
| BLAKE2b-256 |
b5729b137c096bca8213a50e9dfc129d0bc2b8675a73be31e7e9fab4ea35ff71
|