An open API service indexing awesome lists of open source software.

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

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