A Python library for simplifying tasks and enhancing generative AI workflows.
Project description
taizmath
taizmath is an easy-to-use symbolic math library designed as an alternative to SymPy. It simplifies complex mathematical operations like differentiation, integration, Laplace transforms, Fourier transforms, and more.
Features
- ✅ Symbolic algebra (
add,subtract,multiply,divide) - ✅ Calculus operations (
differentiate,integrate) - ✅ Transforms (
laplace,fourier) - ✅ Predefined constants (
pi,e) - ✅ Simple and intuitive syntax
Installation
Install taizmath via pip:
pip install taizmath
Usage
from taizmath.core import Symbol
from taizmath.algebra import add
from taizmath.calculus import diff, integrate
from taizmath.transforms import laplace
x = Symbol('x')
# Algebraic operation
expr = add(x, 2) # (x + 2)
print(expr)
# Differentiation
dx = diff(x, x) # 1
print(dx)
# Integration
int_expr = integrate(x, x) # x^2/2
print(int_expr)
# Laplace Transform
laplace_x = laplace(x) # L[x]
print(laplace_x)
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
taizmath-0.2.tar.gz
(3.0 kB
view details)
File details
Details for the file taizmath-0.2.tar.gz.
File metadata
- Download URL: taizmath-0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ba45c9a68c7bc5823a2d44c12b4d0fb4921b96025a89bafddd660cde39a5a14
|
|
| MD5 |
0813a1905fcb9d9f6f977a5c7a5dbad4
|
|
| BLAKE2b-256 |
58e01b8d5cc8591173ae04a8ef895a72011f3489a09ec747c2c6a27a4e17b6da
|