Skip to content

Ezzyky/MatrixSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrice icon

MatrixSolver

An interactive Python command-line application for linear algebra — build matrices and apply a wide range of operations through a clean, menu-driven interface.

Python Platform No dependencies CLI Status License


About

MatrixSolver is an interactive CLI application for linear algebra. Build a matrix and apply operations to it — addition, multiplication, Gaussian elimination, determinants, and more — through a text menu, with every step (pivots, row operations, cofactors) printed along the way so you can follow the calculation, not just get the result.

It supports matrices with integer and real (float) coefficients, keeps a session history of every operation performed, and can export any result to a dated .txt report. It's available both as a Python script and as a standalone executable for Windows and Linux.

Features

🔢 Matrix operations

  • Addition and subtraction
  • Multiplication (matrix × matrix, matrix × scalar)
  • Transpose (Aᵀ)
  • Matrix power (Aⁿ)

🧮 Reduction & solving

  • Gaussian elimination, with each row operation displayed step by step
  • Rank computation
  • Coming soon: Gauss-Jordan method, linear system solving

📊 Properties & analysis

  • Determinant, including its properties: det(Aᵀ), det(AB), det(kA), det(A⁻¹)
  • Invertibility check
  • Symmetry check
  • Diagonal matrix check
  • Trace
  • Inverse (via the cofactor/adjugate method)

🚧 Advanced linear algebra (planned)

  • Eigenvalues & eigenvectors
  • Kernel Ker(A) & Image Im(A)
  • LU decomposition
  • SVD

🛠️ Quality-of-life

  • Step-by-step calculation breakdown for every operation (pivots, row swaps, cofactors, etc.)
  • Built-in explanations for each operation, with definitions, formulas, and worked examples
  • Session history of all operations performed
  • Export any result to a dated, formatted .txt report
  • Input validation with clear, French error messages for invalid dimensions or incompatible operations

About

A CLI matrix calculator that shows its work — Gaussian elimination, arithmetic, and more, one row operation at a time.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages