A small package for solving linear equations system and converting into reduced row echelon form
Project description
RREF_Package
The RREF_Package provides an efficient implementation for computing the Reduced Row Echelon Form (RREF) of a given matrix. It simplifies matrices to a canonical form, making it useful for solving linear systems, rank determination, and inverse calculations.
Developed by [Your Name] (c) 2024
Installation
You can install the package using pip:
pip install rref_package
Features
- Compute the Reduced Row Echelon Form (RREF) of any matrix.
- Supports integer, floating-point matrices.
- Handles both square and rectangular matrices.
- Provides step-by-step transformation details (optional).
Example Usage
from rref_package import RREF
# Define a matrix
matrix = [
[1, 2, -1, 3],
[2, 3, 4, 1],
[1, -1, 1, 2]
]
# Compute RREF
rref_matrix = rref.full_solve(list of equations)
# Print result
for row in rref_matrix:
print(row)
Additional Features
# Optional: Show step-by-step row operations
rref_matrix, steps = RREF.compute_with_steps(matrix)
# Display transformation steps
for step in steps:
print(step)
API Reference
RREF.compute(matrix: list) -> list
Computes the reduced row echelon form of the given matrix.
RREF.compute_with_steps(matrix: list) -> tuple
Returns the RREF along with a list of row operations performed.
License
This project is licensed under the MIT License.
Feel free to contribute or report issues on GitHub!
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 rr_echelon_f_48-0.0.1.tar.gz.
File metadata
- Download URL: rr_echelon_f_48-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b172792cde377e33c3a4109cb3efcde2603fa0d23a72522dcc6e7a1e56e7f0d6
|
|
| MD5 |
24cd9e6609ccf849d4808d99949ecb0f
|
|
| BLAKE2b-256 |
4507fe2288829614dbea43851e396825e9756026c870d9220bcfa77e0f217c73
|
File details
Details for the file rr_echelon_f_48-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rr_echelon_f_48-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4f787fcef8bd32139840b21944dda152bc08c545287d881465cc7b1d76e5f5
|
|
| MD5 |
58d7758950e9d7c3a1d4f4dab591139c
|
|
| BLAKE2b-256 |
f6501f01db0a0617bb18899daf15759056ec24e0d5801730dcab0674d40f2f47
|