Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: [email protected]

About

python numpy matrix linear-algebra pypi

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages