Lightweight matrix utility library
Project description
Matrix Utils
Matrix Utils is a lightweight Python library for creating and working with structured matrices.
It supports identity, tri-diagonal, tri-band, diagonal, symmetric, Toeplitz, Hankel, and circulant matrices — all in a clean object-oriented style.
✨ Features
- Object-oriented
Matrixclass - Add, multiply, and transpose matrices
- Generate:
- Identity matrix
- Diagonal, symmetric
- Tri-diagonal, tri-band
- Toeplitz, Hankel, Circulant
- Utility functions:
- Check for symmetry
- Check for Toeplitz
📦 Installation
pip install matrixx
🚀 Usage
from matrixx import Matrix, generate_tridiagonal, is_toeplitz
m = generate_tridiagonal(4)
print(m)
print(m.transpose())
print(m.is_symmetric())
print(is_toeplitz(m))
📂 Project Structure
matrixx/
├── matrixx/
│ ├── core.py
│ └── __init__.py
├── tests/
├── setup.py
├── LICENSE
└── README.md
📄 License
This project is licensed under the MIT License.
© 2024 Kranthi • Contact: kdevprofile@gmail.com
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 matrixx-0.1.3.tar.gz.
File metadata
- Download URL: matrixx-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b37e0e751ed2a475ca9fb89ebe7e006537ffc5016996196b3c6e2e74cb86f645
|
|
| MD5 |
db88a9ded5cabdc4ddc68bacb7f73caf
|
|
| BLAKE2b-256 |
9f620201f51c2564a6f36d4ca213fc8bce92f7a6558da5b1a9310f1fc82dfe60
|
File details
Details for the file matrixx-0.1.3-py3-none-any.whl.
File metadata
- Download URL: matrixx-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9325c1c5e0801f9deab2900aedefbcc1e577adf63bba87420552af086ecbf686
|
|
| MD5 |
996433ee46ee2f967ccc54829aa7b563
|
|
| BLAKE2b-256 |
76e8feac3672130193bab31cebbb82dbac8be3a3024eb9bacb2f5e91c12dbc02
|