MingMath Package
MingMath is a Python package for undergraduate mathematics.
It provides functions related to Calculus, Linear Algebra, Data Structures, String Processing, Recursion, OOP, Scientific Computing, File I/O, Data Visualization, Graph Theory, and Advanced Mathematics.
Installation
pip install mingmath
Usage
import mingmath
# Calculus
print(mingmath.derivative_power(3, 2))
print(mingmath.definite_integral_power(2, 2, 0, 3))
# Linear Algebra
A = [[1, 2], [3, 4]]
B = [[5, 6], [7, 8]]
print(mingmath.matrix_add(A, B))
print(mingmath.matrix_multiply(A, B))
# Data Structures and String Processing
print(mingmath.reverse_string("MingMath"))
print(mingmath.list_sum([1, 2, 3, 4, 5]))
print(mingmath.dictionary_keys({"name": "MingMath","year": 2026}))
print(mingmath.set_union({1, 2}, {2, 3}))
# Recursive Functions
print(mingmath.factorial_recursive(5))
print(mingmath.fibonacci_recursive(6))
print(mingmath.fibonacci_memo(10))
# Object-Oriented Programming
number = mingmath.Number(10)
print(number)
scientific_number = mingmath.ScientificNumber(5)
print(scientific_number.square())
print(scientific_number.cube())
# NumPy
print(mingmath.numpy_mean([1, 2, 3, 4, 5]))
print(mingmath.numpy_matrix_determinant([[1, 2],[3, 4]]))
# SymPy
print(mingmath.sympy_derivative("x**3 + 2*x"))
print(mingmath.sympy_integral("2*x"))
# SciPy
print(mingmath.scipy_mean([1, 2, 3, 4, 5]))
# File I/O
mingmath.write_text_file("example.txt","Hello MingMath!")
print(mingmath.read_text_file("example.txt"))
# Matplotlib
x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]
mingmath.plot_line(x, y)
# Seaborn
x = [1, 2, 3, 4, 5]
y = [2, 4, 3, 5, 6]
mingmath.plot_scatter(x, y)
# Plotly
mingmath.plot_bar(["A", "B", "C"],[10, 20, 15])
# NetworkX
edges = [("A", "B"),("B", "C"),("A", "C")]
print(mingmath.graph_degrees(edges))
print(mingmath.shortest_path(edges, "A", "C"))
# PyVista
import numpy as np
x = np.linspace(-2, 2, 20)
y = np.linspace(-2, 2, 20)
X, Y = np.meshgrid(x, y)
Z = X**2 + Y**2
grid = mingmath.create_3d_surface(X, Y, Z)
print(grid)
# GMPY2
print(mingmath.high_precision_sqrt("2"))
print(mingmath.high_precision_pi())
# PARI/GP
print(mingmath.pari_factorial(5))
print(mingmath.pari_factorization(60))
# SageMath
print(mingmath.sage_available())
Metadata
Release files for mingmath 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mingmath-0.3.1.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mingmath-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / mingmath-0.3.1.tar.gz
| Download URL | mingmath-0.3.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb6da71c9543304231d89f947af3521c72a0974e00f21117a7b70b02f7922d98
|
|
BLAKE2b-256 checksum How to use checksums |
4436e560b6252227cb14cb767d2d94670c070ad5d78a2a9ca3e4ec343452f353
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / mingmath-0.3.1-py3-none-any.whl
| Download URL | mingmath-0.3.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61f495ac06522a2bcc384a74e73d6b7dae141984f42b8a29544fb01f8e58e633
|
|
BLAKE2b-256 checksum How to use checksums |
93cc4d96b02613db8bc303c236e1084f32017fcfb0d15353cf6d372f48298c32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|