Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjyup/system-of-linear-equations
A haskell project to solve linear equations using inverse
https://github.com/hjyup/system-of-linear-equations
haskell inverse-matrix linear-algebra
Last synced: 11 days ago
JSON representation
A haskell project to solve linear equations using inverse
- Host: GitHub
- URL: https://github.com/hjyup/system-of-linear-equations
- Owner: HJyup
- License: mit
- Created: 2024-12-22T13:35:08.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2024-12-22T17:35:37.000Z (12 days ago)
- Last Synced: 2024-12-22T18:29:43.510Z (12 days ago)
- Topics: haskell, inverse-matrix, linear-algebra
- Language: Haskell
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# System of Linear Equations
A simple Haskell project to solve systems of linear equations using the matrix inverse method.
## Overview
This project provides a solution to systems of linear equations represented in matrix form:
**\[ A X = B \]**
Where:
- **\( A \)**: The coefficient matrix, representing the linear equations.
- **\( X \)**: The column vector of unknown variables.
- **\( B \)**: The column vector of constants.By calculating the inverse of \( A \), the solution \( X \) can be derived as:
**\[ X = A^{-1} B \]**
## Features
- Multiplies \( A^{-1} \) with \( B \) to obtain the solution vector \( X \).
- Provides error handling for cases where the matrix \( A \) is not invertible or input is invalid.## Requirements
* GHC (Glasgow Haskell Compiler): Ensure you have GHC installed.
* Cabal: For managing Haskell dependencies and building the project.## Run Locally
Clone the repository and navigate to the project directory:
```bash
git clone https://github.com/HJyup/system-of-linear-equations.git
cd sudoku-solver```
Build the project with Cabal:
```bash
cabal build
```
Run the application with Cabal:
```bash
cabal run system-of-linear-equations
```
## License
[MIT](https://choosealicense.com/licenses/mit/)