{"id":30516207,"url":"https://github.com/nissanjk/linear-solver","last_synced_at":"2026-05-16T11:02:22.682Z","repository":{"id":307874340,"uuid":"1012056552","full_name":"NissanJK/Linear-Solver","owner":"NissanJK","description":"A Python desktop application to solve systems of linear equations using various numerical methods.","archived":false,"fork":false,"pushed_at":"2025-08-02T17:56:26.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-02T19:43:40.909Z","etag":null,"topics":["anaconda3","fpdf","imageio","matplotlib","numpy","python3","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NissanJK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-01T18:35:53.000Z","updated_at":"2025-08-02T17:57:05.000Z","dependencies_parsed_at":"2025-08-02T19:54:28.495Z","dependency_job_id":null,"html_url":"https://github.com/NissanJK/Linear-Solver","commit_stats":null,"previous_names":["nissanjk/linear-solver"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/NissanJK/Linear-Solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NissanJK%2FLinear-Solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NissanJK%2FLinear-Solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NissanJK%2FLinear-Solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NissanJK%2FLinear-Solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NissanJK","download_url":"https://codeload.github.com/NissanJK/Linear-Solver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NissanJK%2FLinear-Solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272206766,"owners_count":24891951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anaconda3","fpdf","imageio","matplotlib","numpy","python3","tkinter"],"created_at":"2025-08-26T09:39:30.116Z","updated_at":"2025-10-23T20:21:23.619Z","avatar_url":"https://github.com/NissanJK.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linear System Solver\n\nA Python desktop application to solve systems of linear equations using various numerical methods.\n\n## Features\n- Solve using **Gaussian Elimination**, **Matrix Inversion**, **Jacobi**, and **Gauss-Seidel** methods.\n- Visualize intermediate steps and error convergence with Matplotlib.\n- Validate solutions automatically.\n- Export results and error plots to CSV or PDF.\n- Supports matrix sizes from 2x2 up to 5x5.\n- User-friendly Tkinter GUI.\n- Step-by-step visualization and error tracking for iterative methods.\n- Modular design for easy extension.\n\n## Installation\n\n1. Clone or download this repository.\n2. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nRun the application:\n```bash\npython main.py\n```\n\n## How to Use\n\n1. **Select Matrix Size:** Choose the size (2x2 to 5x5) from the dropdown.\n2. **Enter Coefficients:** Fill in the matrix **A** and vector **b** in the input fields.\n3. **Choose Method:** Select a solution method from the dropdown.\n4. **Solve:** Click **Solve** to compute the solution.\n5. **Visualize:** Click **Visualize Steps** to see the step-by-step process and error convergence (for iterative methods).\n6. **Export:** Use the export feature to save results as CSV or PDF.\n7. **Reset:** Click **Reset** to clear all fields and outputs.\n\n## Example\n\n**Input:**\n- Matrix Size: 4\n\n- A:\n    [ 10.0, -1.0,  2.0,  0.0],\n    [ -1.0, 11.0, -1.0,  3.0],\n    [  2.0, -1.0, 10.0, -1.0],\n    [  0.0,  3.0, -1.0,  8.0]\n\n- b:\n    [6.0, 25.0, -11.0, 15.0]\n\n**Output:**\n```\nSolution x = [ 1.  2. -1.  1.]\nValidation: True\n```\n\n## Extending\n\nAdd new methods under the `methods/` folder following the existing interface:\n```python\ndef solve(A, b, **kwargs):\n    # Your implementation\n    return x, steps  # or x, steps, errors for iterative methods\n```\n\n## Dependencies\n\n- numpy\n- matplotlib\n- fpdf\n- imageio\n- tkinter (built-in)\n\n## Troubleshooting\n\n- If you encounter issues with the GUI, ensure you are running Python 3.x and all dependencies are installed.\n- For PDF export, make sure the `fpdf` package is installed.\n\n## License\n\nThis project is for educational and research purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnissanjk%2Flinear-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnissanjk%2Flinear-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnissanjk%2Flinear-solver/lists"}