https://github.com/maheshbansod/math
This repository contains algorithms for numerical methods. Feel free to contribute to it or use it in your own projects. It currently contains matrix functions and functions to solve linear equations
https://github.com/maheshbansod/math
cpp equation-systems math mathematics matrix-library numerical-computation numerical-methods
Last synced: 4 months ago
JSON representation
This repository contains algorithms for numerical methods. Feel free to contribute to it or use it in your own projects. It currently contains matrix functions and functions to solve linear equations
- Host: GitHub
- URL: https://github.com/maheshbansod/math
- Owner: maheshbansod
- License: mit
- Created: 2020-02-22T07:16:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-10T16:27:26.000Z (about 5 years ago)
- Last Synced: 2025-01-15T20:19:45.193Z (5 months ago)
- Topics: cpp, equation-systems, math, mathematics, matrix-library, numerical-computation, numerical-methods
- Language: C++
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Math library
This repository contains algorithms for numerical methods. Feel free to use them in your own projects.
It contains matrix related functions and functions to solve linear equations.Include the file "Matrix.hpp" for matrix functions and "EquationSystem.hpp" for solving equation systems.
## Compiling and running tests
For compiling:
```$ make main```
## Execution
```$ ./main n```
for nth test
Test 1: addition, subtraction, multiplication, determinant, symmetric, identity.
Test 2: diagonally dominant and gaussian elimination
Test 3: gauss jacobi method
Test 4: gauss seidel method and cholesky method
Test 5: doolittle's method and crout's method for matrix decomposition
Test 6: numerical integration methods - trapezoidal, simpson's 1/3rd rule, simpson's 3/8th rule