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

Metadata

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 Provenance Actions
matrixx-0.1.3.tar.gz 3.8 kB Without provenance Details for matrixx-0.1.3.tar.gz

Built distribution (wheel)

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

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

Security for matrixx 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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