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.
For compiling:
$ make main
$ ./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