Skip to main content

Matrix Utils

Test Status PyPI Python License

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 Matrix class
  • 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

Release files for matrixx 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matrixx 0.1.3
File Size Uploaded
matrixx-0.1.3.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matrixx 0.1.3
File Interpreter ABI Platform
matrixx-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / matrixx-0.1.3.tar.gz

Download URL matrixx-0.1.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b37e0e751ed2a475ca9fb89ebe7e006537ffc5016996196b3c6e2e74cb86f645
BLAKE2b-256 checksum
How to use checksums
9f620201f51c2564a6f36d4ca213fc8bce92f7a6558da5b1a9310f1fc82dfe60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / matrixx-0.1.3-py3-none-any.whl

Download URL matrixx-0.1.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9325c1c5e0801f9deab2900aedefbcc1e577adf63bba87420552af086ecbf686
BLAKE2b-256 checksum
How to use checksums
76e8feac3672130193bab31cebbb82dbac8be3a3024eb9bacb2f5e91c12dbc02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page